create-client-scope
Create a client scope in a Keycloak realm to define and manage token scopes. Specify realm, name, protocol, and attributes to control token claims.
Instructions
Create a new client scope (CRITICAL for managing token scopes)
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>",
"name": "<name>"
},
"name": "create-client-scope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Client scope name | |
| realm | Yes | Realm name | |
| protocol | No | Protocol (e.g., openid-connect) | |
| attributes | No | Client scope attributes | |
| description | No | Client scope description |