# remove_person

> The AirBuild MCP tool that removes a member from a Team; their messages stay. Owner only.

Source: https://air.build/docs/mcp-tools/remove_person/

`remove_person` takes a member off the Team. They lose access to its chats and Projects at once; the messages they wrote stay, under their name. It does not delete their AirBuild account, and it does not stop an invite link they could use to come back: revoke it with [revoke_invite](https://air.build/docs/mcp-tools/revoke_invite/). Only the Team's owner can remove people, and the owner can never be removed. Removing someone who already left changes nothing.

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| No | Yes | Yes |

## Inputs

| Input | Type | Required | Default | What it does |
| --- | --- | --- | --- | --- |
| `teamId` | string (UUID) | Yes | — | The Team, from [list_teams](https://air.build/docs/mcp-tools/list_teams/) |
| `userId` | string (UUID) | Yes | — | The person, from `people` in [list_team_members](https://air.build/docs/mcp-tools/list_team_members/) |

## Result

| Field | What |
| --- | --- |
| `removed` | `true` |

```json
{ "removed": true }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| Only the Team's owner can remove people. | You are a member of this Team, not its owner | Ask the owner |
| The owner cannot be removed from their own Team. | `userId` is the owner's | The owner stays |
| That person is not in this Team. | `userId` never was on this Team | Take it from [list_team_members](https://air.build/docs/mcp-tools/list_team_members/) |
| Team not found. | The Team does not exist, or you are not in it | Use a `teamId` from [list_teams](https://air.build/docs/mcp-tools/list_teams/) |

The errors every tool can return are on [Server and sign-in](https://air.build/docs/mcp-tools/server/#errors).

## Example

```json
{"name": "remove_person", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "userId": "00000000-0000-0000-0000-000000000000"}}
```
