get_attachments
Retrieve attachments from a Microsoft Graph message. List all attachment metadata or download a specific attachment as base64.
Instructions
Get attachments for a message. Without attachment_id: list all metadata. With attachment_id: download that attachment (base64 if under 1.5 MB).
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 |
|---|---|---|---|
| account_id | No | ||
| message_id | Yes | ||
| attachment_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |