flow
Automate mobile device actions using batch commands, multi-step workflows with loops and conditionals, or parallel execution across multiple devices.
Instructions
Flow orchestration: batch (multi-command), run (multi-step automation with loops/conditionals), parallel (same action on multiple devices)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| commands | No | Array of commands to execute sequentially | |
| stopOnError | No | Stop execution on first error (default: true) | |
| steps | No | Steps to execute sequentially | |
| maxDuration | No | Max total duration in ms (default: 30000, max: 60000) | |
| platform | No | Target platform. If not specified, uses the active target. | |
| args | No | Arguments for the action (deviceId will be injected per device) | |
| devices | No | Array of device IDs to target. Use device(action:'list') to get available devices. |