Get a conversation thread
get_threadReconstruct the whole conversation a message belongs to (via Message-ID/References), including your own replies from the Sent folder, oldest first. Use read_message on the returned uids for full bodies. Works on agent inboxes only (a free address or an API-only inbox); a person's mailbox returns agent_inbox_only.
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": {
"mailbox": "<mailbox>",
"uid": "<uid>"
},
"name": "get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | UID of any message in the conversation | |
| folder | No | Folder that message is in (default "INBOX") | |
| mailbox | Yes | Full mailbox address |