list_messages
Retrieve WhatsApp messages from local cache using filters like date range, chat, sender, or search query, with optional surrounding context included.
Instructions
(reads local cache; works while disconnected) Get WhatsApp messages matching specified criteria with optional context. Returns a formatted text block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ISO-8601 lower bound | |
| before | No | ISO-8601 upper bound | |
| chat_jid | No | WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us` | |
| context_after | No | ||
| context_before | No | ||
| include_context | No | ||
| limit | No | ||
| page | No | ||
| query | No | case-insensitive substring to match | |
| sender_phone_number | No | WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us` |