# rename_project

> The AirBuild MCP tool that renames a Project; its chat takes the new name too.

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

`rename_project` gives a Project a new name. The Project's chat takes the same name, so everyone on the Team sees it in the app at once. It changes the name only: not the app's name on the App Store, not its bundle id and not its files. Renaming a Project to the name it already has changes nothing. Any person on the Team can call it. A Project's chat cannot be renamed on its own: [update_group](https://air.build/docs/mcp-tools/update_group/) refuses it.

| 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/) |
| `projectId` | string (UUID) | Yes | — | The Project, from [list_projects](https://air.build/docs/mcp-tools/list_projects/) |
| `name` | string, 1 to 80 characters | Yes | — | The new name. Spaces at the ends are trimmed; no line breaks or control characters |

## Result

| Field | What |
| --- | --- |
| `project` | The Project after the change, with the fields of [list_projects](https://air.build/docs/mcp-tools/list_projects/#result): `projectId`, `name`, `channelId`, `agentIds`, `appBundleId`, `hasPicture` |

```json
{
  "project": {
    "projectId": "00000000-0000-0000-0000-000000000000",
    "name": "Notes",
    "channelId": "proj.00000000-0000-0000-0000-000000000000",
    "agentIds": ["designer"],
    "appBundleId": null,
    "hasPicture": false
  }
}
```

## Errors

_Italic_ words stand for the values in the sentence.

| Message | When | What to do |
| --- | --- | --- |
| name is required. | `name` is missing or only spaces | Send a name |
| Project names must be 1..._N_ characters after trimming. | `name` is too long | Choose a shorter name |
| Project names must not contain control or directional-override characters. | `name` has line breaks, control characters or text-direction marks | Use plain text |
| Project not found. | No Project of this Team has this id | Use a `projectId` from [list_projects](https://air.build/docs/mcp-tools/list_projects/) |
| 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_project", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "projectId": "00000000-0000-0000-0000-000000000000", "name": "Notes"}}
```
