list_attachments
Lists attachments on a Gmail message, including filename, MIME type, size, attachment ID, and inline-image status so you can identify files before reading or downloading them.
Instructions
List the attachments on a message: filename, MIME type, size, attachment ID, and whether it is an inline image.
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": {
"messageId": "<messageId>"
},
"name": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes |