group_participants
Add, remove, promote, or demote participants in a WhatsApp group. Require confirmation for removal or role changes to avoid accidental admin actions.
Instructions
Add, remove, promote or demote group participants (admin rights required for most actions).
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": "<chat>",
"action": "<action>",
"phones": "<phones>"
},
"name": "group_participants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us). | |
| action | Yes | What to do with the listed participants. | |
| phones | Yes | Participant phone numbers (or user JIDs). | |
| confirm | No | Must be true for remove/promote/demote. |