get_attachments
Retrieve a list of attachments for a given message ID, including file names, sizes, and IDs for downloading.
Instructions
List all attachments for a specific message.
Args: message_id: The ID of the message to get attachments for (from get_messages results).
Returns: Dictionary with attachment list including file names, sizes, and IDs for downloading.
Examples: - get_attachments(249184) -> List attachments for message 249184
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_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||