gdrive_download_file
Download Google Drive files to a local filesystem path. Google Docs, Sheets, and Slides are exported to Office formats; other files keep native binary format.
Instructions
Download a Google Drive file to a local filesystem path.
Google Docs/Sheets/Slides are exported to Office formats (.docx/.xlsx/.pptx). Other files are downloaded in their native binary form.
Discovery: use gdrive_search or gdrive_list_folder first to obtain
file_name / file_id values.
Use this for: saving a Drive file locally for offline/binary use.
Not for: reading text content in-chat — see gdrive_read_file.
Args: local_path: Destination file path, or directory to download into file_name: Name of the file to download file_id: Optional stable file ID (preferred when known) dry_run: Preview the download without writing bytes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| file_id | No | ||
| file_name | No | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |