download_attachment
Download attachments from a message by providing the message ID. Returns local file paths that can be viewed.
Instructions
Download attachments from a message. Returns local file paths that can be viewed with the Read tool.
Args:
message_id: The message ID (shown as 'id: xxx' in message listings)
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": "download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |