simulator_apps
チームのシミュレータにインストールされているアプリを、bundle ID とともに一覧表示する MCP ツールです。
simulator_apps は、チームの動作中のシミュレータにインストールされているアプリを一覧表示します。各アプリの bundle ID、名前、バージョンです。デフォルトでは、誰か(人、エージェント、または simulator_install_app)がインストールしたアプリだけを表示し、all を指定すると iOS に付属するアプリも加わります。読み取り専用です。bundle ID は simulator_launch_app、simulator_terminate_app、simulator_uninstall_app で使います。
| 読み取り専用 | 破壊的 | 冪等 |
|---|---|---|
| はい | いいえ | はい |
入力
| 入力 | 型 | 必須 | デフォルト | 内容 |
|---|---|---|---|---|
teamId |
文字列(UUID) | はい | — | チーム。list_teams から取得 |
simulator |
string | いいえ | チームのデフォルトのデバイス | どのデバイスか。list_simulators の id で指定します |
all |
boolean | いいえ | false |
true にすると Apple のシステムアプリも表示します |
結果
| フィールド | 内容 |
|---|---|
ok |
true |
apps |
インストールされているアプリ |
apps[].bundleId |
アプリの bundle ID |
apps[].name |
アプリの名前(ある場合) |
apps[].version |
アプリのバージョン(ある場合) |
apps[].type |
user(誰かがインストールしたもの)または system(iOS に付属。all 指定時のみ) |
{ "ok": true, "apps": [ { "bundleId": "com.example.notes", "name": "Notes", "version": "1.0", "type": "user" } ] }エラー
すべてのシミュレータツールが返す可能性のあるエラーだけです。start_simulator を参照してください。
例
{"name": "simulator_apps", "arguments": {"teamId": "00000000-0000-0000-0000-000000000000"}}