Change a member's role
change_member_roleChange a workspace member's role (owner and admin run the workspace and see everything; member works leads; sales sees only the customers assigned to them). Only an owner can make someone an owner or change an owner, and the last owner can't be changed. The user id comes from list_members. Admins only. Ask the user to confirm before calling this tool.
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": {
"user_id": "<user_id>",
"role": "<role>"
},
"name": "change_member_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Their new role | |
| user_id | Yes | User id from list_members | |
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. |