Get message history for a thread
GetMessageHistoryForThreadRetrieve the full message history for a conversation thread, including messages, comments, and system events, with pagination support.
Instructions
Retrieve the message history for a given conversation thread by its ID (messages, comments and system events like assignments and status changes). Paginated: pass after from paging.next.after to fetch the next page.
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": {
"thread_id": "<thread_id>"
},
"name": "GetMessageHistoryForThread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor from paging.next.after | |
| limit | No | Max results per page | |
| thread_id | Yes | The unique identifier for the conversation thread whose message history is to be retrieved | |
| is_archived | No | Set true if the thread is archived |