WhatsApp Read Messages
whatsapp_read_messagesReads messages from a specific WhatsApp chat. The chat_id must come from a previous whatsapp_list_chats call.
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_id": "<chat_id>"
},
"name": "whatsapp_read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages to return (default 50) | |
| account | No | Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account. | |
| chat_id | Yes | Chat ID from whatsapp_list_chats |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present only when the read returned nothing, saying so explicitly | |
| count | No | Number of messages returned | |
| account | No | The label of the WhatsApp account this call used. | |
| messages | Yes | Messages from the chat, chronological | |
| account_id | No | The id of the WhatsApp account this call used. | |
| incomplete_note | No | Present with unread_on_phone: the list is not complete yet; run whatsapp_sync and read again. | |
| unread_on_phone | No | Present when the chat's unread count is higher than the messages this Mac holds. |