Read recent messages in a chat
whatsapp_read_chatRead recent WhatsApp chat messages by contact name, phone number, or JID and get the unread count for the chat.
Instructions
Recent messages (since server start) from a chat, resolved by contact name, number, or JID. Includes unread count for the chat.
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": {
"contact": "<contact>"
},
"name": "whatsapp_read_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages (default 20) | |
| contact | Yes | Contact: saved name, phone number with country code (e.g. 919876543210), or full JID (e.g. 919876543210@s.whatsapp.net) |