export_doc_to_pdf
Convert a Google Doc into a PDF and store it in Google Drive. Specify the user email, document ID, and optional PDF filename or Drive folder to control where the converted file is saved.
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 |