zitadel_create_project_role
Create a new role in a Zitadel project by defining a role key and display name, with optional group and project ID for RBAC setup.
Instructions
Create a new role in a Zitadel project. For the standardized RBAC model use the keys "admin" or "standard" (see zitadel_provision_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": {
"roleKey": "<roleKey>",
"displayName": "<displayName>"
},
"name": "zitadel_create_project_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Optional role group for organization | |
| roleKey | Yes | Role key. Standardized vocabulary: "admin" or "standard". | |
| projectId | No | The project ID (uses default project if omitted) | |
| displayName | Yes | Human-readable role name |