whatsapp_archive_chat
Hide a chat from the main list or restore it without deleting messages. Archiving keeps the conversation and can be undone; returns a success confirmation.
Instructions
Archive or unarchive a chat. Archiving only hides it from the main list on this account; messages are kept and it can be undone. Returns a success confirmation.
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": {
"chatId": "<chatId>",
"archived": "<archived>"
},
"name": "whatsapp_archive_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat JID | |
| archived | Yes | Archive or unarchive |