keycloak_get_client_session_count
Count active sessions for a specific Keycloak client using its UUID to monitor current user activity.
Instructions
Count the active sessions for one client.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientUuid": "<clientUuid>"
},
"name": "keycloak_get_client_session_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | No | Realm to operate on. Defaults to the server's configured realm (KEYCLOAK_REALM). | |
| clientUuid | Yes |