waha_clear_chat_messages
Clear all messages from a WhatsApp chat. This destructive operation permanently removes chat history and cannot be undone.
Instructions
Clear all messages from a chat. WARNING: This is a destructive operation that cannot be undone.
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>"
},
"name": "waha_clear_chat_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID (format: number@c.us) |