Make a role
colliedesk_role_createMake a role: a name unique in the workspace, an optional description, and its permissions (resource:action, each one you hold yourself). Start from another role with start_from (its permissions are copied, then permissions are added). Give it to people with colliedesk_member_roles_set; delete it with colliedesk_role_delete while nobody holds it.
Needs: team:manage_roles, team:read.
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": {
"name": "<name>"
},
"name": "colliedesk_role_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| start_from | No | Name or id of a role whose permissions to copy. | |
| description | No | ||
| permissions | No | Permissions of the role, on top of those of start_from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||