Remove team member
team_remove_memberRemove a member (account id or alias) from a team, or cancel a pending invite (its id from team_show, its email address, or the invited account's id or alias). Only the team owner or the member themselves may remove a membership; only the owner or the member who sent it may cancel an invite. The last member removing themselves deletes the team, refused with TEAM_OWNS_WORKSPACES while it owns workspaces and TEAM_HAS_PLAN while it is on a paid plan.
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>"
},
"name": "team_remove_member"
}
}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. | |
| team | Yes | The team: its id or slug. | |
| member | Yes | Whom to remove: a member's account id or alias, or a pending invite's id or email address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| removed | Yes |