Update Group
wa_update_groupChange a WhatsApp group's settings: its name, its description, whether only admins may change settings (locked), and whether only admins may post (announce). Pass only the fields to change; several can change in one call. If the group restricts settings to admins, the account must be one. WhatsApp applies each change separately, so on a refusal 'applied' lists the changes that took effect before 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_update_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | a new group name (max 25 characters) | |
| locked | No | true lets only admins change the name, description and photo; false lets every member | |
| announce | No | true lets only admins post (an announcement group); false lets every member post | |
| group_jid | Yes | the group (…@g.us) JID, as returned by wa_list_groups | |
| account_id | Yes | the account, as returned by wa_list_accounts | |
| description | No | a new description; an empty string clears it |
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) |