list_groups
List WhatsApp groups you belong to from a local cache, with optional name search and result limits. Find groups without a network call.
Instructions
List all WhatsApp groups the user belongs to. Reads from the cache — no network.
For a live snapshot of a single group, use get_group (it forces a fresh GroupMetadata.update).
Examples: All groups: {} Search by group name: { query: "family" } Top 10: { limit: 10 }
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 |
|---|---|---|---|
| limit | No | Max groups to return (default 50, max 500) | |
| query | No | Case-insensitive substring match against group name |