create_client_role
Define and manage client roles in Keycloak by specifying role name, description, and composite status for targeted realms or defaults.
Instructions
Create a new client role.
Args:
    client_id: Client database ID
    name: Role name
    description: Role description
    composite: Whether this is a composite role
    realm: Target realm (uses default if not specified)
Returns:
    Status message
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| client_id | Yes | ||
| composite | No | ||
| description | No | ||
| name | Yes | ||
| realm | No | 
Input Schema (JSON Schema)
{
  "properties": {
    "client_id": {
      "title": "Client Id",
      "type": "string"
    },
    "composite": {
      "default": false,
      "title": "Composite",
      "type": "boolean"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Description"
    },
    "name": {
      "title": "Name",
      "type": "string"
    },
    "realm": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Realm"
    }
  },
  "required": [
    "client_id",
    "name"
  ],
  "title": "create_client_roleArguments",
  "type": "object"
}