get_history
Read a chat's message history in deterministic pages, forward or backward, with chronological messages and cursor-based continuation until the full history is retrieved.
Instructions
Read a deterministic page of a chat's message history. direction "forward" reads oldest→newest; "backward" scrolls up (newest→oldest). Returned messages are always chronological; pass the cursor back to continue. Iterate until hasMore is false for complete readback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| chatId | Yes | Chat JID, e.g. 14155551234@s.whatsapp.net or …@g.us. | |
| cursor | No | ||
| direction | No |