Batch Commands
mobile_batch_commandsExecute multi-step mobile UI actions in a single call to fill forms or complete flows without repeated round-trips. Chain taps and text inputs sequentially on one device.
Instructions
Run multiple tools in sequence in a single call, e.g. click, type, click, type. Use this to fill forms or perform multi-step flows without round-trips. The device argument is applied to every step; all steps must target that same device.
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": {
"device": "<device>",
"steps": "<steps>"
},
"name": "mobile_batch_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Tools to run, in order. All steps are validated before the first device side effect. | |
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| stopOnError | No | Stop at the first failing step. Defaults to true | |
| listElementsAtEnd | No | Run mobile_list_elements_on_screen after the last step and include its result. Defaults to false |