Change a teammate's role
change_teammate_roleChange a teammate's role. A viewer's open conversations go back to the queue. The workspace always keeps an owner.
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": {
"userId": "<userId>",
"role": "<role>"
},
"name": "change_teammate_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | owner: everything, including the team and billing; admin: settings and automation; agent: conversations and contacts; viewer: read only. | |
| userId | Yes | The teammate id from list_team. |