find_messages
Retrieve paginated message history from a WhatsApp chat. Filter by contact or group JID.
Instructions
Read the message history of a chat. Filter by the contact's remoteJid (e.g. 5491112345678@s.whatsapp.net or a group ...@g.us). Results are paginated.
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": {
"instanceName": "<instanceName>",
"remoteJid": "<remoteJid>"
},
"name": "find_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default 1) | |
| offset | No | Messages per page (default 10, max ~100) | |
| remoteJid | Yes | Chat JID to read, e.g. 5491112345678@s.whatsapp.net or 12036...@g.us | |
| instanceName | Yes | Name of the Evolution API instance |