adb_workflow_run
Run a JSON-defined workflow on an Android device with conditional steps, loops, and actions like shell commands, app installation, and screenshots.
Instructions
Execute a workflow — a JSON-defined sequence of device operations with variable substitution, conditional steps, and loop support. Supported actions: shell, root_shell, install, screenshot, logcat, getprop, sleep. Pass the workflow as a JSON string or provide a saved workflow name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | Workflow JSON string, or the name of a saved workflow file | |
| variables | No | Override workflow variables (merged with defaults) | |
| device | No | Device serial | |
| dryRun | No | Validate and show execution plan without running |