Remove people from a group
remove_group_participantsRemove unwanted contacts from a WhatsApp group you administer. Specify the account, group, and participants, then confirm to permanently remove them—they must be added or invited again.
Instructions
Remove participants from a group the account administers.
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>",
"contactIds": "<contactIds>",
"confirm": "<confirm>"
},
"name": "remove_group_participants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. Removed participants have to be added or invited again. 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). | |
| contactIds | Yes | Contact ids: E.164 with + (`+584241112233`) or `lid:<digits>`. |