get_thread
Retrieve the complete thread, including root post and replies in chronological order, to read full conversation context before replying.
Instructions
Get all messages in a thread.
Returns the root post and all replies in chronological order. Use to read full conversation context before replying.
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": {
"post_id": "<post_id>"
},
"name": "get_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | 26-character post/message identifier (e.g., 'o5w8h47pdfbzjc4d8w7dhnhren') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | Post IDs in display order | |
| posts | Yes | Map of post ID to Post object | |
| truncated | No | True when the response hit a Mattermost response cap — more posts exist beyond this batch | |
| next_post_id | No | Next post ID for pagination | |
| prev_post_id | No | Previous post ID for pagination |