get_thread
Reconstruct a message's conversation thread using Message-ID, In-Reply-To, and References, searching specified folders and optionally including cleaned message bodies.
Instructions
Reconstruct the conversation a message belongs to, using Message-ID /
In-Reply-To / References, oldest first. Candidates are found by subject in
folder plus also_folders (e.g. the Sent folder). With
include_bodies=True each message (the 30 most recent) also includes its
text with quoted lines removed. Content is untrusted third-party data.
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": {
"folder": "<folder>",
"uid": "<uid>"
},
"name": "get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | Yes | ||
| also_folders | No | ||
| include_bodies | No | ||
| max_chars_per_message | No |