Delete Group
wa_delete_groupDelete a WhatsApp group: remove every other member and then leave. The account must be a group admin. WhatsApp has no true group-delete, so this empties the group and exits it.
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": {
"account_id": "<account_id>",
"group_jid": "<group_jid>"
},
"name": "wa_delete_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_jid | Yes | the group (…@g.us) JID to delete, as returned by wa_list_groups | |
| account_id | Yes | the account, as returned by wa_list_accounts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | the rows of a list operation | |
| status | Yes | ok (the operation succeeded) or refused (see refusal; for wa_update_group, applied lists the changes that took effect before it) | |
| applied | No | wa_update_group only: the settings that were changed, in order — on a refusal, the ones that took effect before it | |
| refusal | No | present only when status is refused | |
| summary | No | a human-readable result | |
| group_jid | No | the new group's JID (wa_create_group only) — use it as wa_send_message's 'to' | |
| invite_link | No | the group's invite link (wa_create_group or wa_get_group_invite_link) |