Add, remove, promote or demote group members
manage_group_participantsChange WhatsApp group membership by adding, removing, promoting, demoting, or approving/rejecting participants; requires group admin rights.
Instructions
Changes group membership: add, remove, promote (to admin), demote, or approve/reject join requests. The instance must be a group admin. 'remove' kicks people out and cannot be undone automatically; 'add' notifies the people added, so only add people who agreed.
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": {
"group_jid": "<group_jid>",
"action": "<action>",
"participants": "<participants>"
},
"name": "manage_group_participants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| group_jid | Yes | Group JID ending in @g.us. | |
| instance_id | No | ZapZap instance id (a connected WhatsApp number). Optional when ZAPZAP_INSTANCE_ID is configured; otherwise call list_instances first. | |
| participants | Yes | Phone numbers with country code, digits only. |