keycloak_get_user_groups
Retrieve all groups assigned to a specific Keycloak user by user UUID, with pagination and realm support.
Instructions
List the groups a user belongs to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum number of results to return (1-500). Defaults to 50. | |
| 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). | |
| userId | Yes | User UUID (the `id` field), NOT the username. Find it with keycloak_list_users. |