List WhatsApp groups
list_groupsLists WhatsApp groups for an instance, returning each group's JID and name so you can find the JID to send to or manage. Read-only.
Instructions
Lists the WhatsApp groups the instance belongs to, with JID (ending in @g.us) and name. Use to find a group JID to send to or manage. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | No | ZapZap instance id (a connected WhatsApp number). Optional when ZAPZAP_INSTANCE_ID is configured; otherwise call list_instances first. |