# simulator_heal

> The MCP tool that takes input back on the Team's Simulator when Xcode's Device Hub has taken it, by restarting SpringBoard.

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

`simulator_heal` gives input back to the Team's running Simulator after Xcode's Device Hub has taken it. When that happens, taps, typing and buttons report success but do nothing, and input tools fail with a message that ends `Call simulator_heal to take input back` (see [Errors every Simulator tool can return](https://air.build/docs/mcp-tools/start_simulator/#device-errors)). To take input back, the tool restarts SpringBoard. **That ends every running app on the device**, for everyone using the shared Simulator, so relaunch yours with [simulator_launch_app](https://air.build/docs/mcp-tools/simulator_launch_app/) afterwards. It is marked destructive. When the device was not affected, it does nothing and reports `reclaimed: false`. It can take up to 3 minutes.

| Read-only | Destructive | Idempotent |
| --- | --- | --- |
| No | Yes | 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) |

## Result

| Field | What |
| --- | --- |
| `ok` | `true` |
| `reclaimed` | `true` when input was taken back (SpringBoard restarted); `false` when nothing needed doing |

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

## Errors

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

## Example

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