gmail_list_attachments
Get all attachments from a Gmail message, including IDs, filenames, MIME types, and sizes.
Instructions
List all attachments in a Gmail message. Returns attachment IDs, filenames, MIME types, and sizes. Requires readonly scope.
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": {
"accountId": "<accountId>",
"messageId": "<messageId>"
},
"name": "gmail_list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The Google account ID, alias, or email | |
| messageId | Yes | The message ID to list attachments from |