keycloak_get_realm_session_stats
Count active sessions per client across a Keycloak realm to see who is logged in and where.
Instructions
Count active sessions per client across the realm — who is logged in, and where.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "keycloak_get_realm_session_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | No | Realm to operate on. Defaults to the server's configured realm (KEYCLOAK_REALM). |