Set a team member's roles
colliedesk_member_roles_setSet which roles a team member holds, by role name: the whole list in roles, or add_roles and remove_roles to change only those. Everyone keeps at least one role. You may give or take only roles whose every permission you hold, and only change someone who holds no permission you lack; the last active member with Admin keeps it. Agent tokens of the member that follow a role taken away stop at once, and start again when it is given back.
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": {
"member": "<member>"
},
"name": "colliedesk_member_roles_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | No | The whole list of role names they should hold. | |
| member | Yes | The team member's email, display name or id (see colliedesk_agents_list). | |
| add_roles | No | Role names to give, keeping the others. | |
| remove_roles | No | Role names to take away, keeping the others. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | Yes |