skycloak_list_application_sessions
List active user sessions for an application in a Keycloak realm to monitor logged-in users and review session activity by cluster, realm, and client ID.
Instructions
List active user sessions for an application.
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": {
"cluster_id": "<cluster_id>",
"realm": "<realm>",
"client_id": "<client_id>"
},
"name": "skycloak_list_application_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | the Keycloak realm name | |
| client_id | Yes | the application client ID | |
| cluster_id | Yes | the cluster ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| sessions | Yes |