Update organisation member role
update_organisation_member_roleChange a member's organisation role (the twin of ankra org member role). Needs members.manage. user_id comes from list_organisation_members. role is member, admin, read-only, or project to limit the member to one project (project_id, and project_role_slug defaulting to member). Refused for your own role, for a role carrying a permission you do not hold, for a member stronger than you, for demoting the organisation's last owner, and for limiting an owner to a project. Moving a member to project-only retires their organisation-wide assignments.
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": "update_organisation_member_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The new organisation role, or project for a project-only membership. | |
| user_id | Yes | The member's id, as list_organisation_members shows it. | |
| project_id | No | UUID of the project, required with role project and refused otherwise (from list_projects). | |
| project_role_slug | No | The built-in role held in the project with role project; member when omitted. |