iphone_batch
Runs a known sequence of iPhone actions in one call, stops at the first failed step, and reports each step's result to reduce round trips for repeatable flows.
Instructions
Run a known sequence of actions in one call, e.g. open an app, tap through a menu, type and submit, then look once at the end.
Each step is a normal iphone_* tool call with the same arguments and the same admin policy checks, so
nothing is possible here that is not possible step by step. Use iphone_wait_for steps to wait for a screen
instead of fixed pauses. The batch stops at the first failed step (unless it is optional or stop_on_error
is false), when the iPhone gets locked, or after 300 s, and reports every step's result. Use it only for
steps you are sure of; when the next action depends on what appears, look first.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"steps": "<steps>"
},
"name": "iphone_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | 1–50 steps run in order, each one tool call. | |
| finish | No | What to return after the last step: nothing more, the UI tree, or a screenshot. | none |
| stop_on_error | No | true stops at the first failed step that is not marked optional. |