Get thread messages
get_thread_messagesGet the messages in one inbox thread (visitor), oldest first. Returns the most recent messages by default; use offset with has_older to page back through long threads.
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": {
"chatbot_id": "<chatbot_id>",
"visitor_id": "<visitor_id>"
},
"name": "get_thread_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages per page (default 100, max 200). | |
| offset | No | Skip this many of the most recent messages to page further back (default 0). | |
| chatbot_id | Yes | The chatbot id. | |
| visitor_id | Yes | The thread/visitor id (from list_inbox_threads). |