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": {
"team": "<team>",
"member": "<member>",
"role": "<role>"
},
"name": "team_set_member_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| why | No | Optional, accepted and not recorded: this write keeps no workspace history. If you send one, one sentence on what the person is trying to accomplish. At most 300 characters. | |
| role | Yes | ||
| team | Yes | The team: its id or slug. | |
| member | Yes | The member: an account id or alias. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| agent_id | Yes |