# rename_team

> The AirBuild MCP tool that sets or clears a Team's name. Owner only.

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

`rename_team` sets the Team's name, the one everyone on the Team sees in the app. `null` or a blank name clears it. Only the Team's owner can rename the Team: for a member the call fails (see `role` in [list_teams](https://air.build/docs/mcp-tools/list_teams/)). It changes the name only, not the Team's picture (use [start_picture_upload](https://air.build/docs/mcp-tools/start_picture_upload/) with `target: "team"`) and not its Projects.

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| No | No | 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/) |
| `name` | string (at most 64 characters) or `null` | Yes | — | The new name. Spaces at the ends are trimmed; no line breaks or control characters. `null` or `""` clears it |

## Result

| Field | What |
| --- | --- |
| `teamId` | The Team's id |
| `name` | The name as saved, or `null` when cleared |

```json
{ "teamId": "00000000-0000-0000-0000-000000000000", "name": "Notes" }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| name must be text or null. | `name` is missing, or neither text nor `null` | Send text, or `null` to clear the name |
| Only the Team's owner can rename the Team. | You are a member of this Team, not its owner | Ask the owner to rename it |
| A Team name can be at most 64 characters. | `name` is too long after trimming | Use a shorter name |
| A Team name can't contain line breaks or control characters. | `name` has line breaks, control characters or text-direction marks | Use plain text |
| 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": "rename_team", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "name": "Notes"}}
```
