Archive Chat
archive_chatArchive or unarchive a WhatsApp chat by specifying its JID and archive status. This controls whether the chat appears in your main chat list.
Instructions
Archive or unarchive a WhatsApp 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": {
"remote_jid": "<remote_jid>",
"archive": "<archive>"
},
"name": "archive_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive | Yes | True to archive, false to unarchive | |
| remote_jid | Yes | Chat JID (e.g. 5538999999999@s.whatsapp.net or group JID) |