document_completed_pdf
Retrieve a completed PDF document. Use base64 mode for inline display, url for a shareable link, or file to save locally.
Instructions
Fetch the completed PDF. Use mode: 'base64' to get content for displaying in an artifact or chat (embed as data:application/pdf;base64,{pdf_base64}). Default 'url' mode returns a shareable link.
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": {
"document_id": "<document_id>"
},
"name": "document_completed_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | url | |
| document_id | Yes | ||
| file_format | No | ||
| save_to_path | No | ||
| include_audit_page | No |