Update User Tool
update-user-toolOverwrites the given fields; previous values are not kept. Change a user's role within an organization. Allowed roles are admin and member; the organization owner's role cannot be changed and users cannot be promoted to owner.
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>",
"user_id": "<user_id>",
"role": "<role>"
},
"name": "update-user-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The new role for the user. Allowed values: admin, member. Promoting to owner is not supported. | |
| user_id | Yes | The numeric id of the user whose role should be changed. | |
| organization_id | Yes | The numeric id of the organization the user is a member of. |