download_file
Save a Google Drive file to a local path. Exports Google-native files to common formats and refuses to overwrite unless specified.
Instructions
Save a file to a local absolute path. Google-native files are exported (Docs to docx, Sheets to xlsx, Slides to pptx, Drawings to png by default; pass format to change). Refuses to overwrite unless overwrite is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| format | No | Export format for Google-native files. | |
| overwrite | No | ||
| destinationPath | Yes | Absolute path of the file to write, or of an existing directory to save into using the Drive name. |