Leave a group
leave_groupLeave a WhatsApp group or community with user confirmation. Since leaving is irreversible, a fresh invite is needed to rejoin.
Instructions
Leave a group or community. This cannot be undone without a fresh invite — always confirm with the user first.
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": {
"group": "<group>"
},
"name": "leave_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Group or community name or jid | |
| confirm | No | Must be true. Ask the user before setting it. |