Reset a group's invite link
reset_group_invite_linkRevoke the current invite link for a WhatsApp group and generate a fresh one, so only the new link can be used to join.
Instructions
Revoke the group's invite link and return a new one. Anyone holding the old link can no longer join with 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": {
"accountId": "<accountId>",
"groupId": "<groupId>",
"confirm": "<confirm>"
},
"name": "reset_group_invite_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. The old invite link stops working. Only set it after the user asked for this or agreed to it. | |
| groupId | Yes | The group id (`...@g.us`), from list_groups. | |
| accountId | Yes | The wuapi account id of the linked number to act as (from list_accounts). |