mail_download_attachment
Download an email attachment using its blob ID and filename. Specify MIME type if needed to retrieve the file content from your Fastmail account.
Instructions
Download an attachment blob by blobId.
Args: blob_id: The blobId of the attachment (from email attachments list). name: The filename to use for the download. content_type: MIME type of the attachment (default: application/octet-stream).
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": {
"blob_id": "<blob_id>",
"name": "<name>"
},
"name": "mail_download_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blob_id | Yes | ||
| name | Yes | ||
| content_type | No | application/octet-stream |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |