logout-user
Revoke every active session for a user in a Keycloak realm by specifying the realm and user ID, forcing immediate logout.
Instructions
Logout all sessions for a specific user
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": {
"realm": "<realm>",
"userId": "<userId>"
},
"name": "logout-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| userId | Yes | User ID |