fetch
Automatically fetch Google Drive files, Gmail threads, or folders to local directory. Supports attachments, recursive folder trees, and specific spreadsheet tabs.
Instructions
Fetch content to mise/ — auto-detects type (Drive file, Gmail thread, folder).
Pass base_path=cwd. Use attachment= for specific Gmail attachments (Office/PDF/image).
Use recursive=True on folders for full tree. Use tabs= to fetch specific spreadsheet tabs.
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": {
"file_id": "<file_id>"
},
"name": "fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabs | No | ||
| file_id | Yes | ||
| base_path | No | ||
| recursive | No | ||
| attachment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||