Categories

Chat Transcript to PDF

Lay out multi-role chat transcripts into a PDF conversation

Format chat transcripts into a PDF with bubble-style layout. **Input:** JSON array or object with messages **Output:** PDF transcript with grouped chat bubbles **Example:** ```json { "messages": [ { "role": "system", "content": "Be brief and friendly." }, { "role": "user", "content": "Summarize my last invoice." }, { "role": "assistant", "content": "Invoice: $420, due Feb 20, 2026." } ] } ```

Example Results

1 examples

Chat Transcript

Chat JSON transcript exported to PDF

chat-transcript-to-pdf-example1.pdf View File
View input parameters
{ "transcriptJson": "{\"messages\":[{\"role\":\"user\",\"content\":\"Status update?\"},{\"role\":\"assistant\",\"content\":\"Deployment complete.\"}]}", "title": "Ops Chat", "showTimestamps": false }

Click to upload file or drag and drop file here

Maximum file size: 5MB Supported formats: application/json, text/plain

API Documentation

Request Endpoint

POST /en/api/tools/chat-transcript-to-pdf

Request Parameters

Parameter Name Type Required Description
transcriptJson textarea No -
transcriptFile file (Upload required) No -
title text No -
showTimestamps checkbox No -
accentColor color No -
userBubbleColor color No -
assistantBubbleColor color No -
systemBubbleColor color No -
baseFontSize number No -
pageSize select No -
landscape checkbox No -
printBackground checkbox No -
marginTop number No -
marginBottom number No -
marginLeft number No -
marginRight number No -
waitUntil select No -
waitTime number No -

File type parameters need to be uploaded first via POST /upload/chat-transcript-to-pdf to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-chat-transcript-to-pdf": {
      "name": "chat-transcript-to-pdf",
      "description": "Lay out multi-role chat transcripts into a PDF conversation",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=chat-transcript-to-pdf",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]