Change a member's role
company_member_role_setChanges the role of another member of one of your companies. Owners can change any role; admins only between member and viewer. You cannot change your own role and a company keeps at least one owner. Call without confirm first for a preview, then again with confirm and the preview_token.
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": {
"company": "<company>",
"member": "<member>",
"role": "<role>"
},
"name": "company_member_role_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| member | Yes | Member ref (MB-XXXXXXXX) from company_members_list. | |
| company | Yes | Company ref (CO-XXXXXXXX) from company_list_mine. | |
| confirm | No | Set true only on the second call, after the user approved the preview. | |
| preview_token | No | The preview_token returned by the first call (same input). |