Manage a WhatsApp group
manage_groupManage a WhatsApp group's participants, roles, subject, description, and invite links, with the ability to leave. Admin privileges are required for all actions except leaving.
Instructions
Administer a group. Actions:
add / remove / promote / demote — need participant_ids; each participant comes back with status ok, invite_needed or failed
leave — DESTRUCTIVE, rejoining needs an invite
set_subject / set_description — need value
get_invite_link / revoke_invite_link
Everything except leave requires the linked account to be a group admin; call get_group_info first to check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | New subject or description | |
| action | Yes | Group action to perform | |
| group_id | Yes | Group chat id ("<id>@g.us") | |
| participant_ids | No | Targets of add/remove/promote/demote |