export_pdf
Convert any Google Doc to a downloadable PDF by providing its document ID. Get the file as base64 with filename and size for easy integration.
Instructions
Export a Google Doc as PDF.
Args: document_id: ID of the document
Returns: PDF as base64 with filename and size
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": "export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||