get_email_attachments
Retrieve a list of attachments for a specific email by ID and optional mail folder, returning filenames, content types, and sizes for inspection or download.
Instructions
Get list of attachments for a specific email.
Args: email_id: Email ID (from list_emails or search_emails) folder: Mail folder (default: INBOX)
Returns: List of attachments with index, filename, content_type, and size
Example: get_email_attachments(email_id="123")
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": {
"email_id": "<email_id>"
},
"name": "get_email_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | INBOX | |
| email_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |