get_attachment
Open a file attached to a message (images are returned so you can see them). Pass message_id from read_conversation or search_messages and the attachment index (default 0). Messages whose text is only "[image: …]" carry their content in the attachment — open it before answering.
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": {
"message_id": "<message_id>"
},
"name": "get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Attachment index from the message's attachments list (default 0) | |
| message_id | Yes |