skycloak_create_application_role
Define a new role on a Keycloak application within a specified realm and cluster, creating the role for later assignment to users.
Instructions
Define a new role on an application. This creates the role itself; use skycloak_assign_application_role to grant it to a 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": {
"cluster_id": "<cluster_id>",
"realm": "<realm>",
"client_id": "<client_id>",
"name": "<name>"
},
"name": "skycloak_create_application_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the role name | |
| realm | Yes | the Keycloak realm name | |
| client_id | Yes | the application's OAuth client ID | |
| cluster_id | Yes | the cluster ID | |
| description | No | what the role is for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | Yes | ||
| client_id | Yes | ||
| composite | Yes | ||
| client_uuid | No | ||
| description | No |