# simulator_stop_recording

> 팀 Simulator의 화면 녹화를 멈추고 MP4를 다운로드 링크와 함께 팀 첨부 파일로 저장하는 MCP 도구입니다.

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

`simulator_stop_recording`은 팀 Simulator의 화면 녹화를 멈추고, 동영상(MP4)을 팀의 첨부 파일로 저장한 뒤 `attachmentId`와 다운로드 링크를 반환합니다. 녹화가 스스로 멈춘 뒤에도 작동합니다. 링크는 60초 동안 유효하니 바로 받거나, 나중에 [get_attachment](https://air.build/ko/docs/mcp-tools/get_attachment/)로 새 링크를 받으세요. 동영상을 채팅에 첨부하려면 `attachmentId`를 [send_message](https://air.build/ko/docs/mcp-tools/send_message/)에 전달하세요. 호출할 때마다 동영상의 새 사본이 저장됩니다. 아무것도 삭제하지 않습니다.

| 읽기 전용 | 파괴적 | 멱등 |
| --- | --- | --- |
| 아니요 | 아니요 | 예 |

## 입력

| 입력 | 유형 | 필수 | 기본값 | 설명 |
| --- | --- | --- | --- | --- |
| `teamId` | 문자열 (UUID) | 예 | — | [list_teams](https://air.build/ko/docs/mcp-tools/list_teams/)의 팀. 동영상은 이 팀에 저장됩니다 |
| `simulator` | string | 아니요 | 팀의 기본 기기 | 어떤 기기인지. [list_simulators](https://air.build/ko/docs/mcp-tools/list_simulators/#result)의 `id` |

## 결과

| 필드 | 내용 |
| --- | --- |
| `attachmentId` | 저장된 동영상의 첨부 파일 id |
| `fileName` | `simulator-recording-<date and time>.mp4` |
| `byteCount` | 동영상의 바이트 크기 |
| `downloadUrl` | 다운로드 링크. 60초 동안 유효 |
| `note` | 위 내용의 안내 |

```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."
}
```

## 오류

| Message | 발생 조건 | 해결 방법 |
| --- | --- | --- |
| no recording exists for this device | 이 기기에서 녹화된 것이 없음 | [simulator_start_recording](https://air.build/ko/docs/mcp-tools/simulator_start_recording/)으로 녹화를 시작하세요 |
| no finished recording for this device | 녹화가 실패함 | [simulator_recording_status](https://air.build/ko/docs/mcp-tools/simulator_recording_status/)를 확인하고 다시 녹화하세요 |
| The recording is empty. | 동영상에 내용이 없음 | 다시 녹화하세요 |
| The recording could not be stored. Stop it again to retry. | 동영상 저장에 실패함 | `simulator_stop_recording`을 다시 호출하세요 |

모든 Simulator 도구가 반환할 수 있는 오류도 반환합니다. [start_simulator](https://air.build/ko/docs/mcp-tools/start_simulator/#device-errors)를 참고하세요.

## 예시

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