# simulator_start_recording

> The MCP tool that starts recording the Team's Simulator's screen as a video.

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

`simulator_start_recording` starts recording the Team's running Simulator's screen in real time and returns at once. A device records one video at a time. The recording stops on its own after `timeoutSeconds`; stop it earlier, and get the video, with [simulator_stop_recording](https://air.build/docs/mcp-tools/simulator_stop_recording/). Check on it with [simulator_recording_status](https://air.build/docs/mcp-tools/simulator_recording_status/). Starting a new recording replaces the device's previous finished one, so stop and store a recording before starting the next. It does not change the app.

| 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) |
| `timeoutSeconds` | integer, 1 to 3600 | No | `180` | Seconds after which the recording stops on its own |

## Result

| Field | What |
| --- | --- |
| `ok` | `true` |
| `recording.state` | `recording` |
| `recording.deviceId` | The device's own id |
| `recording.startedAtMs` | When it started, in milliseconds since 1970 |
| `recording.elapsedMs` | Milliseconds recorded so far |
| `recording.timeoutSeconds` | When it will stop on its own |

```json
{ "ok": true, "recording": { "state": "recording", "deviceId": "ios:00000000-0000-0000-0000-000000000000", "startedAtMs": 1795132800000, "elapsedMs": 0, "timeoutSeconds": 180 } }
```

## Errors

| Message | When | What to do |
| --- | --- | --- |
| a recording is already in progress for this device | Someone is already recording this device | Wait for it, or stop it with [simulator_stop_recording](https://air.build/docs/mcp-tools/simulator_stop_recording/) |
| recording timeout must not exceed 3600 seconds | `timeoutSeconds` is over 3600 | Send 3600 or less |
| timeoutSeconds must be a whole number of at least 0. | `timeoutSeconds` is not a whole number | Send a whole number |

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_start_recording", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "timeoutSeconds": 60}}
```
