count_user_groups
Count the number of groups a user belongs to in a Keycloak realm, with optional group name search.
Instructions
Get the number of groups a user belongs to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| user_id | Yes | User ID | |
| search | No | Search string for group name |