Change a team member's role
heliyos_team_members_change_roleSet a team member's role to ADMIN or MEMBER using their membership_id; owner roles and the OWNER role cannot be changed with an API key.
Instructions
Sets a team member's role to ADMIN or MEMBER by membership_id (from heliyos_team_members_list). Owners' roles and the OWNER role cannot be changed with an API key. Returns structuredContent {membership_id, role}.
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": {
"membership_id": "<membership_id>",
"role": "<role>"
},
"name": "heliyos_team_members_change_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ADMIN or MEMBER. OWNER cannot be granted with an API key; an owner does that in Heliyos Settings, Team. | |
| membership_id | Yes | membership_id: a 24-character hex id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| membership_id | Yes |