keycloak_list_groups
Lists a Keycloak realm's groups, including nested subgroups. Filter by group name or attributes, paginate results, and request brief representations for efficient listing.
Instructions
List the realm's groups. Groups are a tree — top-level groups are returned with their subGroups nested inside.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search group ATTRIBUTES: "key:value key2:value2". | |
| max | No | Maximum number of results to return (1-500). Defaults to 50. | |
| exact | No | ||
| first | No | Pagination offset — index of the first result to return (0-based). | |
| realm | No | Realm to operate on. Defaults to the server's configured realm (KEYCLOAK_REALM). | |
| search | No | Filter by group name. | |
| briefRepresentation | No | Return only the core fields of each item. Keep this true when listing — full representations are large and a big realm will flood the context. |