list_messages
Retrieve messages from a WhatsApp chat in chronological order, returning the newest limit messages and paging further back with a before timestamp.
Instructions
Messages of one chat (jid, phone number, or contact/group name), oldest first. Returns the newest limit messages; pass before (ISO time) to page further back. Includes history_complete: when false, older messages may still be on the phone (use load_full_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": "<chat>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| before | No |