MCP tools

The AirBuild MCP tool that removes an Agent from a Team, with its direct messages and their history.

remove_agent removes an Agent from the Team. Its direct messages with every person go, with their whole history, and it leaves every Project and group chat; what it said in those chats stays, under its name. Its schedules and connections go with it. Nothing brings it back. To take an Agent off one Project only, use remove_channel_member instead. The Team always keeps one host Agent, so the host cannot be removed until another Agent is made host in the app. Any person on the Team can call it.

Read-only Destructive Idempotent
No Yes Yes

Inputs

Input Type Required Default What it does
teamId string (UUID) Yes — The Team, from list_teams
agentId string Yes — The Agent to remove, from list_team_members

Result

Field What
removed true
{ "removed": true }

Errors

Message When What to do
Reassign the host role to another member before disabling or removing the host. The Agent is the Team’s host Ask the person to make another Agent the host in the app first
Team member not found. No Agent on the Team has this agentId, or it was already removed Check with list_team_members: if it is not there, it is gone
Team not found. The Team does not exist, or you are not in it Use a teamId from list_teams

The errors every tool can return are on Server and sign-in.

Example

{"name": "remove_agent", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "agentId": "designer"}}