# simulator_terminate_app

> The MCP tool that quits a running app on the Team's Simulator by bundle id.

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

`simulator_terminate_app` quits a running app on the Team's running Simulator, by its bundle id. The app stays installed and keeps its data; launch it again with [simulator_launch_app](https://air.build/docs/mcp-tools/simulator_launch_app/), for example to test a cold start. Calling it again is harmless.

| 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) |
| `bundleId` | string | Yes | — | The app's bundle id, from [simulator_apps](https://air.build/docs/mcp-tools/simulator_apps/) |

## Result

| Field | What |
| --- | --- |
| `ok` | `true` |

```json
{ "ok": true }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| bundleId is required. | `bundleId` is missing or empty | Send the bundle id |

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_terminate_app", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "bundleId": "com.example.notes"}}
```
