update_workspace_member
Update a member's role in a specific workspace by workspace_id and user_id. Confirm the current assignment first; only the role changes to admin, member, or manager.
Instructions
Update a workspace member's role by workspace_id and user_id. Only the role changes here; use list_workspace_members or get_workspace_member to confirm the current assignment first.
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": {
"workspace_id": "<workspace_id>",
"user_id": "<user_id>",
"role": "<role>"
},
"name": "update_workspace_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New role in the workspace | |
| user_id | Yes | The user ID to update (must be a valid UUID from list_all_users, not an email address) | |
| workspace_id | Yes | The workspace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |