leave_group
Removes your account from a WhatsApp group using its chat ID or phone number. Requires confirm:true to execute the leave action.
Instructions
Leave a group (your account is removed from it). Requires confirm:true.
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>"
},
"name": "leave_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us). | |
| confirm | No | Must be true to actually leave. |