Leave team
team_leaveLeave a team. An owner leaving transfers ownership to the earliest remaining member; the last member leaving deletes the team, which is refused TEAM_HAS_PLAN while the team is on a paid plan (a cancelled plan counts until its period ends); the team's owner or an admin cancels it in Billing, in the dashboard.
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>"
},
"name": "team_leave"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The team: its id or slug. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| left | Yes |