get_attachment
Download email attachments to disk by providing message ID and attachment ID, returning the file path for further use.
Instructions
Download an email attachment to disk. Returns the file path.
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": {
"messageId": "<messageId>",
"attachmentId": "<attachmentId>"
},
"name": "get_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | Message ID | |
| attachmentId | Yes | Attachment ID from get_email response |