Set team member role
team_set_member_roleAssign the team-scoped member or admin role. Only the current team owner may assign roles. Refused STATE_CONFLICT for the owner, whose role is owner and changes only when ownership is transferred.
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": {
"id": "<id>",
"teamId": "<teamId>",
"role": "<role>"
},
"name": "team_set_member_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The member: an account id or alias. | |
| why | No | Optional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on the goal this change serves. At most 300 characters. | |
| role | Yes | ||
| teamId | Yes | The team: its id or slug. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| agent_id | Yes |