chat_delete
Delete a WhatsApp chat by providing session ID and chat ID. Removes the entire conversation from the session to clean up chat history.
Instructions
[Chat] Delete the 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": {
"sessionId": "<sessionId>"
},
"name": "chat_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp ID for the given chat (either group or personal) | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |