Set team role
set_team_roleMake a team role on a board, or change one: named by 'role' (its name, any case, or id) — made when the board has none by that name. 'needsApproval': true makes a person who marks the role for themselves wait for an administrator's yes (for roles safety rests on — «Electrician»); false gives the role to everybody who was waiting. 'rename' gives an existing role a new name. Left out, either stays as it is. The board's owner and its administrators only. Answers with the role, its holders and who waits.
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": {
"projectKey": "<projectKey>",
"role": "<role>"
},
"name": "set_team_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The role's name, e.g. 'Электрик' (or its id, to change one). | |
| rename | No | A new name for an existing role. | |
| projectKey | Yes | Project key, e.g. 'TH'. | |
| needsApproval | No | Whether a person marking it for themselves waits for an administrator's yes. |