pachca_list_messages
Retrieve messages from a Pachca chat and page through history by anchoring on a message ID with before, after, or around direction.
Instructions
List messages in a chat. Uses anchor-based pagination: provide message_id + direction to page through history.
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": "pachca_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per | No | Messages per page (default 30) | |
| chat_id | Yes | Chat ID | |
| direction | No | Pagination direction relative to message_id | |
| message_id | No | Anchor message ID for pagination |