evolution_chat_archive
Archive or unarchive a WhatsApp chat. Provide the chat JID and last message to toggle its archived state.
Instructions
Archive or unarchive a 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": {
"chat": "<chat>",
"archive": "<archive>",
"lastMessage": "<lastMessage>"
},
"name": "evolution_chat_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat JID. | |
| archive | Yes | true to archive, false to unarchive. | |
| instance | No | WhatsApp instance name. Optional if EVOLUTION_DEFAULT_INSTANCE is configured. | |
| lastMessage | Yes | Last message in the chat. |