# simulator_terminate_app

> 팀의 Simulator에서 실행 중인 앱을 번들 id로 종료하는 MCP 도구입니다.

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

`simulator_terminate_app`은 실행 중인 팀 Simulator에서 실행 중인 앱을 번들 id로 종료합니다. 앱은 설치된 채로 데이터를 유지합니다. 예를 들어 콜드 스타트를 테스트하려면 [simulator_launch_app](https://air.build/ko/docs/mcp-tools/simulator_launch_app/)으로 다시 실행하세요. 다시 호출해도 문제없습니다.

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

## 입력

| 입력 | 유형 | 필수 | 기본값 | 설명 |
| --- | --- | --- | --- | --- |
| `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` |
| `bundleId` | string | 예 | — | [simulator_apps](https://air.build/ko/docs/mcp-tools/simulator_apps/)에서 가져온 앱의 번들 id |

## 결과

| 필드 | 내용 |
| --- | --- |
| `ok` | `true` |

```json
{ "ok": true }
```

## 오류

| Message | 발생 조건 | 해결 방법 |
| --- | --- | --- |
| bundleId is required. | `bundleId`가 없거나 비어 있음 | 번들 id를 보내세요 |

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

## 예시

```json
{"name": "simulator_terminate_app", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000", "bundleId": "com.example.notes"}}
```
