gmail_attachment_download
Download a single Gmail attachment to a local file path using an attachment ID from the message payload; retrieve that ID with a full-format message lookup.
Instructions
Download one attachment to a local path. Get attachment_id from
the message payload parts (gmail_message_get with format=full).
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": {
"account": "<account>",
"message_id": "<message_id>",
"attachment_id": "<attachment_id>",
"save_to": "<save_to>"
},
"name": "gmail_attachment_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | ||
| save_to | Yes | ||
| message_id | Yes | ||
| attachment_id | Yes |