get_thread
Read the conversation a message belongs to. threadId is the conversation ROOT's SMTP Message-ID — the value a list_events row or a get_email answer carries as threadId — and an intermediate message id also resolves to the whole chain. Returns the chain oldest-first, each entry with the same projection get_email uses, plus bodyTruncated on the entries whose body was shortened (the window is bounded so a long thread cannot become a way to pull a whole mailbox) and total / hasMoreOlder / hasMoreNewer saying whether the chain extends past the window. A thread of another tenant answers message_not_found.
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": {
"threadId": "<threadId>"
},
"name": "get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainId | No | Optional: the id of the domain that received the message. Narrows the lookup to one mailbox. | |
| threadId | Yes | The conversation root's SMTP Message-ID — the `threadId` value from a `list_events` row or a `get_email` answer. |