Download Gmail Attachments
download_gmail_attachmentsDownloads Gmail message attachments to a local directory, optionally saving only a specified filename, and returns the saved file paths.
Instructions
Download attachments from a Gmail message to a local directory (default ~/Downloads). If filename is given, only that attachment is saved. Returns saved file paths.
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": {
"message_id": "<message_id>"
},
"name": "download_gmail_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | ||
| save_dir | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |