List groups
list_groupsList 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 }
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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | The JSON-compatible result returned by the Kaption extension |