thread
Retrieves the complete email conversation containing a message by ID; junk and trash replies are omitted unless explicitly included.
Instructions
Show the whole thread containing a message. Excludes junk/trash replies by default; set include_excluded to include them.
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": "thread"
}
}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. |