simulator_recording_status
팀 Simulator의 화면 녹화가 진행 중인지, 끝났는지, 실패했는지 알려 주는 MCP 도구입니다.
simulator_recording_status는 실행 중인 팀 Simulator가 화면을 녹화하고 있는지, 완료된 녹화가 있는지, 녹화가 실패했는지 알려 줍니다. 아무것도 멈추지 않고 동영상도 반환하지 않습니다. 그 일은 simulator_stop_recording이 합니다. 읽기 전용입니다.
| 읽기 전용 | 파괴적 | 멱등 |
|---|---|---|
| 예 | 아니요 | 예 |
입력
| 입력 | 유형 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
teamId |
문자열 (UUID) | 예 | — | 팀. list_teams에서 가져옵니다 |
simulator |
string | 아니요 | 팀의 기본 기기 | 어떤 기기인지. list_simulators의 id |
결과
| 필드 | 내용 |
|---|---|
ok |
true |
recording |
기기에 녹화가 없으면 null, 있으면 아래 필드 |
recording.state |
recording, finished, failed |
recording.deviceId |
기기 자체의 id |
recording.startedAtMs |
시작한 시각. 1970년부터의 밀리초(recording과 finished) |
recording.elapsedMs, recording.timeoutSeconds |
recording일 때: 지금까지의 밀리초와 스스로 멈출 시각 |
recording.durationMs, recording.sizeBytes |
finished일 때: 동영상의 길이와 크기 |
recording.reason |
finished일 때: stopped(누군가 멈춤), timeout(timeoutSeconds에 도달함), interrupted(기기가 멈췄지만 동영상은 여전히 사용 가능) |
recording.error |
failed일 때: 실패 이유 |
{ "ok": true, "recording": { "state": "finished", "deviceId": "ios:00000000-0000-0000-0000-000000000000", "startedAtMs": 1795132800000, "durationMs": 42000, "sizeBytes": 3145728, "reason": "timeout" } }오류
모든 Simulator 도구가 반환할 수 있는 오류만 반환합니다. start_simulator를 참고하세요.
예시
{"name": "simulator_recording_status", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000"}}