MCP ツール

チームのシミュレータにインストールされているアプリを bundle ID で起動し、前面に表示する MCP ツールです。

simulator_launch_app は、チームの動作中のシミュレータにインストールされているアプリを、bundle ID(simulator_apps から取得)で起動して前面に表示します。何もインストールしません。存在しないアプリは app is not installed on this device で失敗します。何も削除しません。

読み取り専用 破壊的 冪等
いいえ いいえ いいえ

入力

入力 型 必須 デフォルト 内容
teamId 文字列(UUID) はい — チーム。list_teams から取得
simulator string いいえ チームのデフォルトのデバイス どのデバイスか。list_simulators の id で指定します
bundleId string はい — アプリの bundle ID。例:com.example.notes

結果

フィールド 内容
ok true
env []:環境変数は渡されません
args 0:起動引数は渡されません
{ "ok": true, "env": [], "args": 0 }

エラー

メッセージ 発生する状況 対処
bundleId is required. bundleId がない、または空 bundle ID を送ってください
app is not installed on this device その bundle ID のアプリがインストールされていない simulator_apps で確認するか、simulator_install_app でインストールしてください

このほか、すべてのシミュレータツールが返す可能性のあるエラーがあります。start_simulator を参照してください。

例

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