List Chat Messages
list_chat_messagesLists messages in a chat from a specified starting message ID, in next or previous order with a configurable limit, so agents can retrieve conversation history.
Instructions
List messages of a chat, starting from start_message_id in the given order (next or prev) with a limit (default 10).
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": "list_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| order | No | ||
| chat_id | Yes | ||
| start_message_id | No |