drive_files_download
Download files from Google Drive, extracting text content or exporting Google Docs/Sheets/Slides to readable formats like plain text or PDF.
Instructions
Download a file's content from Google Drive. Returns the text content for text files, or a base64-encoded string for binary files. For Google Docs/Sheets/Slides, exports to a readable format (plain text by default).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The file ID to download | |
| exportMimeType | No | For Google-native files (Docs/Sheets/Slides): export format. Defaults to text/plain for Docs, text/csv for Sheets. Examples: text/plain, text/csv, application/pdf | |
| savePath | No | For binary files (images, PDFs): save to this local path instead of returning content inline. The file path is returned in the response. |