Export Doc to PDF
export_doc_to_pdfConvert Google Docs to PDF and store them in Google Drive. Choose a target folder or default to the Drive root.
Instructions
Exports a Google Doc to PDF format and saves it to Google Drive.
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": {
"user_google_email": "<user_google_email>",
"document_id": "<document_id>"
},
"name": "export_doc_to_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | Drive folder ID to save PDF in (optional - if not provided, saves in root) | |
| document_id | Yes | ID of the Google Doc to export | |
| pdf_filename | No | Name for the PDF file (optional - if not provided, uses original name + "_PDF") | |
| user_google_email | Yes | User's Google email address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |