get_attachments
Retrieve all attachments from a specific email using its IMAP message ID. Specify the folder (default INBOX) to locate the email.
Instructions
List all attachments in an email by its IMAP message ID.
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 | Numeric IMAP message ID of the email to inspect. | |
| folder | No | IMAP folder containing the email (default "INBOX"). | INBOX |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |