Read WhatsApp chat messages
read_chat_messagesRetrieve recent stored messages from an allowlisted WhatsApp chat, ordered oldest first. Uses local inbox log to remain functional even if WhatsApp is unreachable.
Instructions
Reads the last N stored messages for one allowlisted chat, oldest first. Messages come from the local inbox log, not a live WhatsApp fetch, so this works even when WhatsApp is briefly unreachable.
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": {
"jid": "<jid>"
},
"name": "read_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | WhatsApp chat jid, must be on the allowlist | |
| limit | No | Max messages, default 30 |