create_realm_role
Create a new realm role in Keycloak by specifying realm name and role data, enabling structured access control within the realm.
Instructions
Create a new realm role.
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>",
"role_data": "<role_data>"
},
"name": "create_realm_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| role_data | Yes | Role representation |