list_attachments
List a message's attachment names, content types, and sizes without saving files to disk. Use the message ID and optional folder to inspect attachments in Proton Mail.
Instructions
List a message's attachments (names, content types, sizes) without saving anything to disk.
Args: message_id: Message-ID of the message. folder: Folder containing the message.
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": "list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | INBOX | |
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |