# simulator_launch_app

> The MCP tool that launches an installed app on the Team's Simulator by bundle id and brings it to the front.

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

`simulator_launch_app` launches an app that is installed on the Team's running Simulator and brings it to the front, by its bundle id (from [simulator_apps](https://air.build/docs/mcp-tools/simulator_apps/)). It does not install anything: an app that is not there fails with `app is not installed on this device`. It deletes nothing.

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

## 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) |
| `bundleId` | string | Yes | — | The app's bundle id, e.g. `com.example.notes` |

## Result

| Field | What |
| --- | --- |
| `ok` | `true` |
| `env` | `[]`: no environment variables are passed |
| `args` | `0`: no launch arguments are passed |

```json
{ "ok": true, "env": [], "args": 0 }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| bundleId is required. | `bundleId` is missing or empty | Send the bundle id |
| app is not installed on this device | No app with that bundle id is installed | Check [simulator_apps](https://air.build/docs/mcp-tools/simulator_apps/), or install it with [simulator_install_app](https://air.build/docs/mcp-tools/simulator_install_app/) |

Plus the errors every Simulator tool can return: see [start_simulator](https://air.build/docs/mcp-tools/start_simulator/#device-errors).

## Example

```json
{"name": "simulator_launch_app", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "bundleId": "com.example.notes"}}
```
