Save an attachment for reading
get_attachmentSave an email attachment to a temporary directory for reading by providing the email's envelope ID and the attachment's part ID.
Instructions
Save one attachment to the configured temporary directory for reading.
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_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Envelope ID of the email containing the attachment. | |
| attachment_id | Yes | Attachment part ID returned by get_email. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||