WhatsApp List Groups
whatsapp_list_groupsLists the WhatsApp groups this account is in (from the local store — run whatsapp_sync first if a just-created/joined group is missing). Returns each group's JID (use it as chat_id for whatsapp_read_messages / whatsapp_send_message) and name.
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": "whatsapp_list_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max groups (default 50) | |
| query | No | Optional name filter | |
| account | No | Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||