List user sessions
keycloak_user_sessions_listList all active sessions for a Keycloak user to inspect login status before revoking access.
Instructions
Read-only. Returns a JSON array of a user's currently active sessions (an empty array if none). Use it to inspect where a user is logged in before deciding whether to revoke access with keycloak_user_logout. Idempotent: it never changes any state and repeated calls reflect only sessions that are still active.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The Keycloak user id (UUID) whose active sessions to list. Required; obtain it from keycloak_user_search. |