chat_get_attachment
Download an attachment from a Google Chat message by providing its resourceName. First retrieve the resourceName using chat_list_messages or chat_get_message.
Instructions
Download an attachment from a Google Chat message. Use chat_list_messages or chat_get_message first to get the resourceName from the attachments list.
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": {
"email": "<email>",
"resourceName": "<resourceName>"
},
"name": "chat_get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The authenticated Google account to use. | ||
| filename | No | The filename of the attachment (from the attachments list, optional but helpful). | |
| resourceName | Yes | The attachment data resourceName from a message's attachments list. |