Change a role
colliedesk_role_updateRename a role, change its description, or change its permissions: give the whole list in permissions, or add_permissions and remove_permissions to change only those. Everyone who holds it, and every agent token that follows it, gets the change at once: the answer names them, so tell the person you work for. You can only change a role whose every permission you hold, and only give permissions you hold. Admin cannot change; Agent goes back to its first list with colliedesk_role_reset.
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": {
"role": "<role>"
},
"name": "colliedesk_role_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| role | Yes | The role's name (any case) or id, from colliedesk_roles_list. | |
| description | No | ||
| permissions | No | The whole new list; leave out to keep it. | |
| add_permissions | No | Permissions to add to the list it has. | |
| remove_permissions | No | Permissions to take off the list it has. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||