team_role
Change someone's role or a member's apps (owners only), one at a time. role: owner, member or guest (a client). A company always keeps an owner. Made a client, they keep only Chat and leave the channels open to the team; what they kept to themselves in the other apps is deleted after 30 days, as when someone leaves. apps: the apps a member opens, as Settings → Team ticks them (an owner opens every app, a client only Chat); the user's Activity can undo it.
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": {
"person": "<person>",
"author": "<author>"
},
"name": "team_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apps | No | a member's apps, as team_invite takes them; [] for none, null for every app open to the team | |
| role | No | ||
| model | No | your model id | |
| author | Yes | who's acting: your product, like claude or codex | |
| person | Yes | their id, from team_list |