wa_chat_modify
Change a chat's state on the connected WhatsApp account: archive or unarchive, pin or unpin, mute for a set number of hours or unmute, and mark as read or unread by chat JID.
Instructions
Modify a chat from the connected account: archive/unarchive, pin/unpin the CHAT (chat list), mute (mute_hours, default 8) / unmute, mark read/unread..
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>",
"action": "<action>"
},
"name": "wa_chat_modify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jid | Yes | Chat/group JID | |
| action | Yes | ||
| mute_hours | No |