export_doc_to_pdf
Export a Google Doc to PDF and save it directly to Google Drive. Optionally set the PDF filename and destination folder; defaults apply when omitted.
Instructions
Exports a Google Doc to PDF format and saves it to Google Drive.
Args: user_google_email: User's Google email address document_id: ID of the Google Doc to export pdf_filename: Name for the PDF file (optional - if not provided, uses original name + "_PDF") folder_id: Drive folder ID to save PDF in (optional - if not provided, saves in root)
Returns: str: Confirmation message with PDF file details and links
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | No | ||
| document_id | Yes | ||
| pdf_filename | No | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |