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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"local_path": "<local_path>"
},
"name": "gdrive_download_file"
}
}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 |