Export a catalogue to PDF
export_pdfQueue a PDF render of a catalogue. Returns a job immediately — rendering a long catalogue takes minutes — so poll get_export with the returned jobId until status is 'done' or 'failed'. This consumes the workspace's monthly export quota. On a plan that does not include PDF export it answers EXPORT_LOCKED with an unlockUrl: give that link to the user — you cannot pay or unlock on their behalf — and try again once they say they have unlocked or upgraded. If an identical export is already running, you join it rather than starting a second. Rendering may fetch external assets referenced by the catalogue.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentId": "<documentId>",
"llm_model": "<llm_model>"
},
"name": "export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | 'pdf' is the ordinary RGB web PDF and the default. 'print-pdf' is CMYK with an output intent, crop marks and bleed — much larger, and it renders muddy in a browser because a browser is not colour-managed. Only ask for it if the user wants files for a printer. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. "claude-opus-4-8", "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" — never guess. | |
| documentId | Yes | The catalogue's id, from list_documents. | |
| conversation_id | No | Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request. |