list_thread_attachments
Retrieve metadata such as filename, MIME type, and size for all attachments in a Gmail thread, with no byte content. Fetch individual attachments using get_attachment.
Instructions
List metadata for all attachments in a thread — filename, mime_type, size_bytes, message_id, attachment_id. No bytes (cheap). Use get_attachment to fetch one.
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>",
"thread_id": "<thread_id>"
},
"name": "list_thread_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | A connected account ref (see list_accounts). | |
| thread_id | Yes |