List mail attachments
mail_list_attachmentsList attachment metadata (part index, filename, content type, size) for a given message ID to determine valid part indices before reading an attachment.
Instructions
List a message's attachments (part index, filename, content type, size).
Call this before mail_read_attachment to learn valid part_index values; it does not return attachment content itself.
Args: message_id: A Message-ID as seen in mail_search/mail_read_thread output.
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": "mail_list_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes |