get_received_email_attachment
Retrieve metadata for a specific attachment of a received email, including its download URL, by supplying the email and attachment IDs.
Instructions
Retrieve metadata for one attachment of a received email, including its download_url. (GET /emails/receiving/:id/attachments/:attachmentId serves the raw bytes; this tool returns the matching metadata entry from the attachment list instead.)
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": {
"id": "<id>",
"attachment_id": "<attachment_id>"
},
"name": "get_received_email_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The received email id. | |
| attachment_id | Yes | The attachment id (or legacy numeric index). |