create_authz_policy
Creates an authorization policy for a client's resource server in a Keycloak realm using supplied policy data.
Instructions
Create an authorization policy for a client's resource server.
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>",
"client_uuid": "<client_uuid>",
"policy_data": "<policy_data>"
},
"name": "create_authz_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| client_uuid | Yes | Client UUID | |
| policy_data | Yes | Policy representation (must include its 'type') |