download_file_content
Download one Drive file's raw bytes as base64 (binary-safe — images, PDFs, etc.). NOT for Google-native Docs/Sheets/Slides (no raw binary exists — use read_file_content with export_mime_type instead). Hard-capped at 5MB; larger files error rather than silently truncating. Needs the Drive CONTENT scope (drive.readonly). Pass account when more than one content-capable account is connected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account label the file belongs to. Required when several content-capable (drive.readonly) accounts are connected. | |
| file_id | Yes | Drive file id (from search_drive_files or get_file_metadata). Not for Google-native Docs/Sheets/Slides — use read_file_content for those. |