# simulator_stop_recording

> Das MCP-Werkzeug, das die Bildschirmaufnahme des Simulators des Teams stoppt und das MP4 als Team-Anhang mit Download-Link speichert.

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

`simulator_stop_recording` stoppt die Bildschirmaufnahme des Simulators des Teams, speichert das Video (MP4) als Anhang des Teams und liefert seine `attachmentId` und einen Download-Link. Es funktioniert auch, nachdem die Aufnahme von selbst gestoppt hat. Der Link funktioniert 60 Sekunden lang: Ruf ihn sofort ab oder hol dir später mit [get_attachment](https://air.build/de/docs/mcp-tools/get_attachment/) einen neuen. Hänge das Video an einen Chat an, indem du `attachmentId` an [send_message](https://air.build/de/docs/mcp-tools/send_message/) übergibst. Jeder Aufruf speichert eine neue Kopie des Videos. Es löscht nichts.

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

## 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/); das Video wird in diesem Team gespeichert |
| `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) |

## Ergebnis

| Feld | Bedeutung |
| --- | --- |
| `attachmentId` | Die Anhang-ID des gespeicherten Videos |
| `fileName` | `simulator-recording-<date and time>.mp4` |
| `byteCount` | Die Größe des Videos in Bytes |
| `downloadUrl` | Ein Link zum Herunterladen, 60 Sekunden gültig |
| `note` | Ein Hinweis auf das Obige |

```json
{
  "attachmentId": "00000000-0000-0000-0000-000000000000",
  "fileName": "simulator-recording-2026-11-20T09-30-00-000Z.mp4",
  "byteCount": 3145728,
  "downloadUrl": "https://…",
  "note": "downloadUrl works for 60 seconds; get_attachment makes a fresh one, and send_message can attach the video to a chat."
}
```

## Fehler

| Meldung | Wann | Was zu tun ist |
| --- | --- | --- |
| no recording exists for this device | Auf diesem Gerät wurde nichts aufgenommen | Starte eine mit [simulator_start_recording](https://air.build/de/docs/mcp-tools/simulator_start_recording/) |
| no finished recording for this device | Die Aufnahme ist fehlgeschlagen | Prüfe [simulator_recording_status](https://air.build/de/docs/mcp-tools/simulator_recording_status/) und nimm erneut auf |
| The recording is empty. | Das Video hat keinen Inhalt | Nimm erneut auf |
| The recording could not be stored. Stop it again to retry. | Das Speichern des Videos ist fehlgeschlagen | Rufe `simulator_stop_recording` erneut auf |

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