set_group_name
Rename a WhatsApp group by setting a new subject. Only admins can perform this action; members see a system message with the new name.
Instructions
Change a group's display name (its subject); members see a system message naming the new subject. Reversible by calling again with the previous name. Prerequisite: admin (or non-locked group). Returns the plain-text string Group <chat_jid> renamed to "<name>".
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_jid": "<chat_jid>",
"name": "<name>"
},
"name": "set_group_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | new group subject (display name) | |
| chat_jid | Yes | WhatsApp JID: individual as `<digits>@s.whatsapp.net` or bare phone digits, group as `<digits>-<timestamp>@g.us` |