create-user
Create a new user in a specific Keycloak realm by providing username, email, first name, last name, and optional credentials.
Instructions
Create a new user 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>",
"username": "<username>",
"email": "<email>",
"firstName": "<firstName>",
"lastName": "<lastName>"
},
"name": "create-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| username | Yes | Username for the new user | |
| Yes | Email address for the new user | ||
| firstName | Yes | First name of the user | |
| lastName | Yes | Last name of the user | |
| enabled | No | Whether the user is enabled | |
| emailVerified | No | Whether the email is verified | |
| credentials | No | User credentials |