# start_simulator

> The MCP tool that starts the Team's shared iOS Simulator of a device, or joins it when it already runs, and waits until it is ready.

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

`start_simulator` starts the Team's Simulator of one device and waits, up to about two minutes, until it is ready. When the Simulator already runs (the AirBuild app or one of the Team's Agents may have started it), it joins that one instead of starting a second: a Team has one Simulator per device, shared by the app's Simulator pane, the Team's Agents and every MCP client. It changes nothing on the device and deletes nothing; calling it again is harmless.

A Simulator can take a few minutes to start. When the wait runs out first, the result says `starting`: call `start_simulator` again a minute later. The Simulator stays up while anyone uses it and for about five minutes after the last call to any Simulator tool. Running time counts toward the Team owner's plan, like the Simulator in the app.

Every other `simulator_` tool needs the Simulator running; they all return the errors listed in [Errors every Simulator tool can return](https://air.build/docs/mcp-tools/start_simulator/#device-errors).

| 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/) |
| `simulator` | string | No | The Team's default device | Which device, by `id` from [list_simulators](https://air.build/docs/mcp-tools/list_simulators/#result) |

## Result

| Field | What |
| --- | --- |
| `id` | The device's id |
| `name` | The device's name |
| `runtime` | The iOS version it runs; only when `state` is `running` |
| `state` | `running` when it is ready, `starting` when it is still on its way |
| `note` | Only with `starting`: `Still starting. Call start_simulator again in a minute.` |

```json
{ "id": "iphone-example", "name": "iPhone", "runtime": "iOS 27.0", "state": "running" }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| No Simulator _id_. Offered: _ids_. | `simulator` is not one of the offered device ids | Use an `id` from [list_simulators](https://air.build/docs/mcp-tools/list_simulators/) |
| AirBuild offers no Simulator right now. | No device is offered at the moment | Try again later |
| _name_ is not available right now. Choose another device. | That device cannot be started at the moment | Pick another device from [list_simulators](https://air.build/docs/mcp-tools/list_simulators/) |
| Cloud Builds and Previews are used up for this billing period, and you have no credits left. Buy credits or change your plan to keep going. | The Team owner's plan has no Simulator time left. Joining a Simulator that already runs still works | The Team owner buys credits or changes plan |
| Team not found. | You are not a member of that Team | Use a `teamId` from [list_teams](https://air.build/docs/mcp-tools/list_teams/) |
| This account's Simulator time and credits are used up. | The Simulator stopped because the Team owner's plan ran out while it started | The Team owner buys credits or changes plan |
| _device_ is no longer offered. Start the Simulator again to use another device. | The device was withdrawn while it started | Start another device |
| The _name_ Simulator could not start. Try again. | It failed to start without saying why | Call `start_simulator` again |

### Errors every Simulator tool can return

Every tool that acts on the running Simulator (all the `simulator_` tools) can return these. A refusal from the Simulator itself comes back in its own words, followed by its details and a `Hint:` when it gives them; the tools add what to do for the common cases below.

| Message | When | What to do |
| --- | --- | --- |
| The _name_ Simulator is not running. Start it with start_simulator. | The Team's Simulator of that device is off | Call `start_simulator` |
| The _name_ Simulator is still starting. Call start_simulator to wait for it. | It is starting | Call `start_simulator`, which waits |
| No Simulator _id_. Offered: _ids_. | `simulator` is not an offered device id | Use an `id` from [list_simulators](https://air.build/docs/mcp-tools/list_simulators/) |
| Could not reach the Simulator. It may be restarting — try again, or call start_simulator. | The Simulator did not answer | Try again; if it keeps failing, call `start_simulator` |
| _…_ The connection to the Simulator dropped; try again. | The connection broke during the call | Try again |
| The Simulator answered _status_. | The Simulator refused without a sentence | Check the inputs and try again |
| _…_ Call simulator_heal to take input back (it restarts SpringBoard, so relaunch the app after). | Input is being taken by Xcode's Device Hub: the message starts by saying so, and taps, typing and buttons would report success but do nothing | Call [simulator_heal](https://air.build/docs/mcp-tools/simulator_heal/), then relaunch your app |
| _…_ The app in front is busy; try again in a few seconds. | The app in front gave no accessibility data in time | Try again a few seconds later |
| _key_ must be a number from _min_ to _max_. | A number input is outside its range, or not a number | Send a number inside the range given on the tool's page |
| _key_ must be one of _values_. | An input with fixed values got another value | Use one of the listed values |

## Example

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