Update Organization Member
update-organization-memberChange an accepted organization member's role to admin or member. Requires admin credentials and confirmation of organization, member, and new role.
Instructions
Purpose: Change an accepted organization member's role to admin or member.
Returns: The member's updated role.
NOT for: Pending invitations. Use list-organization-members to identify an accepted member and obtain their user ID.
Auth: Requires a user credential with organization admin access. Authorization is enforced by the RawTree API. RawTree prevents demoting the last organization admin.
Safety: Changing a role can grant administrative privileges or revoke them. You MUST confirm the exact organization, member, and new role with the user 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": {
"organization": "<organization>",
"userId": "<userId>",
"role": "<role>"
},
"name": "update-organization-member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New organization role: admin or member. | |
| userId | Yes | Member user ID returned by list-organization-members. | |
| organization | Yes | Organization containing the member. |