CodePanel
remove_team

remove_team

The CodePanel MCP tool that removes a team, keeping its agents, and returns it as it was so create_team can bring it back.

On this page›

remove_team retires a team. Its coding agents stay. It needs the agents:write scope.

When to call it

  • To clear out a team no task should get again. To stop it serving one repository only, clear its repo with update_team instead.

Inputs

Input Type Required Description
teamId string yes Id of a team, from list_teams

It writes: the server marks it readOnlyHint: false and destructiveHint: true (it can change what is already there), so a client that asks before writes asks here.

What it returns

{ removed }: the team as it was, so create_team with those values brings it back under a new id.

The same step without MCP

Surface Form
HTTP API POST /autopilot/teams/remove with the agents:write scope
CLI codepanel teams remove <teamId>

What the server tells your agent

The description your agent reads when it lists the tools:

Use it to retire a team. Its agents stay. Needs the agents:write scope. Returns { removed }: the team as it was, so create_team with those values brings it back (under a new id).

Last updated