iphone_launch_app
Launch an iPhone app by Bundle ID or display name and bring it to the foreground; optionally return UI elements or a screenshot after the interface stabilizes.
Instructions
启动 App 并切到前台。app 可以是 Bundle ID,也可以是显示名(如「设置」「微信」)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| then | No | 操作后等界面稳定,再顺带返回界面:elements=元素列表(最多 80 个),screenshot=截图。省一次单独的调用 | none |
| then_filter | No | then=elements 时只列包含这段文字的元素 | |
| then_region | No | then=screenshot 时只返回这块区域的放大图 [x, y, width, height](点),例如游戏棋盘 | |
| then_settle | No | 顺带返回界面前最多等几秒让界面稳定(不超过 10)。游戏、地图按画面是否静止判断,消除连锁等长动画可调大,画面一静止就返回 |