gmail_get_attachment
Download a Gmail attachment as base64 using the message ID and filename, with a size limit of about 2 MB.
Instructions
Download one attachment as base64 (max about 2 MB).
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": {
"id": "<id>",
"filename": "<filename>"
},
"name": "gmail_get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message id from gmail_search / gmail_list_drafts | |
| filename | Yes |