Extract attachment text
mailbuttons_get_attachment_textExtract inline text from a message attachment (text/* and text/csv). PDF and other binary types are not extracted yet and return an error with a next step. Read-only; requires the attachments capability.
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>",
"blob_id": "<blob_id>",
"inbox_id": "<inbox_id>"
},
"name": "mailbuttons_get_attachment_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blob_id | Yes | Attachment blob id (from message attachments meta). | |
| email_id | Yes | JMAP email id the attachment belongs to. | |
| inbox_id | Yes | Inbox (mailbox) id. Must be in scope for the token. |