# simulator_start_recording

> Das MCP-Werkzeug, das eine Videoaufnahme des Bildschirms des Simulators des Teams startet.

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

`simulator_start_recording` startet in Echtzeit eine Aufnahme des Bildschirms des laufenden Simulators des Teams und kehrt sofort zurück. Ein Gerät nimmt jeweils ein Video auf. Die Aufnahme stoppt von selbst nach `timeoutSeconds`; stoppe sie früher und hol dir das Video mit [simulator_stop_recording](https://air.build/de/docs/mcp-tools/simulator_stop_recording/). Prüfe ihren Stand mit [simulator_recording_status](https://air.build/de/docs/mcp-tools/simulator_recording_status/). Eine neue Aufnahme zu starten ersetzt die vorherige fertige Aufnahme des Geräts, stoppe und speichere also eine Aufnahme, bevor du die nächste startest. Es ändert die App nicht.

| Nur lesend | Destruktiv | Idempotent |
| --- | --- | --- |
| Nein | Nein | Nein |

## Eingaben

| Eingabe | Typ | Pflicht | Standard | Was sie bewirkt |
| --- | --- | --- | --- | --- |
| `teamId` | string (UUID) | Ja | — | Das Team, aus [list_teams](https://air.build/de/docs/mcp-tools/list_teams/) |
| `simulator` | string | Nein | Das Standardgerät des Teams | Welches Gerät, per `id` aus [list_simulators](https://air.build/de/docs/mcp-tools/list_simulators/#result) |
| `timeoutSeconds` | integer, 1 bis 3600 | Nein | `180` | Sekunden, nach denen die Aufnahme von selbst stoppt |

## Ergebnis

| Feld | Bedeutung |
| --- | --- |
| `ok` | `true` |
| `recording.state` | `recording` |
| `recording.deviceId` | Die eigene ID des Geräts |
| `recording.startedAtMs` | Wann sie begonnen hat, in Millisekunden seit 1970 |
| `recording.elapsedMs` | Bisher aufgenommene Millisekunden |
| `recording.timeoutSeconds` | Wann sie von selbst stoppt |

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

## Fehler

| Meldung | Wann | Was zu tun ist |
| --- | --- | --- |
| a recording is already in progress for this device | Jemand nimmt dieses Gerät bereits auf | Warte darauf oder stoppe sie mit [simulator_stop_recording](https://air.build/de/docs/mcp-tools/simulator_stop_recording/) |
| recording timeout must not exceed 3600 seconds | `timeoutSeconds` ist größer als 3600 | Sende 3600 oder weniger |
| timeoutSeconds must be a whole number of at least 0. | `timeoutSeconds` ist keine ganze Zahl | Sende eine ganze Zahl |

Dazu die Fehler, die jedes Simulator-Werkzeug zurückgeben kann: siehe [start_simulator](https://air.build/de/docs/mcp-tools/start_simulator/#device-errors).

## Beispiel

```json
{"name": "simulator_start_recording", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "timeoutSeconds": 60}}
```
