Mark a chat read or unread
mark_chat_readClear or set a WhatsApp chat's unread badge on linked devices without sending read receipts. Control chat read state.
Instructions
Clear (or set, with unread: true) the chat's unread badge on the linked devices. Sends no read receipts; use send_read_receipts for blue ticks.
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": {
"accountId": "<accountId>",
"chatId": "<chatId>"
},
"name": "mark_chat_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | The chat: a contact as E.164 with + (`+584241112233`) or `lid:<digits>`, or a group id (`...@g.us`). | |
| unread | No | Mark it unread instead. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |