update-user
Update user profile details in a specific Keycloak realm, including name, email, username, and enabled status. Target the correct account by providing the realm and user ID.
Instructions
Update user information in a specific realm
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": "update-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address | ||
| realm | Yes | Realm name | |
| userId | Yes | User ID | |
| enabled | No | User enabled status | |
| lastName | No | Last name | |
| username | No | Username | |
| firstName | No | First name |