drive_download_file
Download files from Google Drive as base64-encoded data, supporting export of Google Docs, Sheets, and Slides to formats like PDF.
Instructions
Download a file from Google Drive as base64-encoded binary content. Use for images, PDFs, zips, and other non-text files. Google Docs/Sheets/Slides are exported to a concrete format (default PDF).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The authenticated Google account. | ||
| fileId | Yes | The file ID (from drive_list_files or drive_search_files). | |
| exportMimeType | No | MIME type to export Google-native files (Docs/Sheets/Slides) as (default 'application/pdf'). Ignored for non-Google-native files. |