text
Retrieve the plain-text body of a single email, converting HTML to text and returning byte-limited chunks so long messages can be read in full.
Instructions
Return the plain-text body of one message, converting HTML.
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>"
},
"name": "text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Message-ID of the message, as search, ids and show report it, with or without the surrounding angle brackets. | |
| limit | No | How many bytes of text to return at most. Defaults to 65536, which is also the ceiling. | |
| offset | No | Byte offset to resume the text from. Use the offset named in a [truncated] marker to read the next chunk of a long message. Defaults to 0, the start. | |
| include_excluded | No | Set true to read a message that lives in junk or trash, which are left out by default. Use it only when the message is expected to be there, since mail in those folders is more likely to be hostile. |