update_member_role
Change a member's role in an organization. Requires owner privileges and prevents demoting the last admin.
Instructions
Change a member's role within an organization. Caller must be org owner. Server rejects demoting the last admin.
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": {
"organization_id": "<organization_id>",
"membership_id": "<membership_id>",
"new_role": "<new_role>"
},
"name": "update_member_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_id | Yes | ||
| membership_id | Yes | Membership row id (from listMembers). | |
| new_role | Yes |