get-messages
Retrieve message history for a chat using its UUID or numeric ID. Supports pagination to view older or newer messages.
Instructions
Return the message history of a chat (by UUID or numeric id).
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": {
"chat_id": "<chat_id>"
},
"name": "get-messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Chat UUID or id. | |
| direction | No | ||
| page_size | No |