Run Maestro flow
run_maestro_flowRun a Maestro flow (YAML: appId, then steps like launchApp, tapOn, inputText, assertVisible, takeScreenshot) on a running Android phone and get pass/fail per step, the screenshots the flow took and Maestro's log. The screen is recorded meanwhile: publish_proof links the video. Waits up to 50 s; if the flow still runs, call again with run_id to keep waiting. One run per phone at a time; parking or deleting the phone stops it. Costs only the phone's minutes.
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": {
"phone_id": "<phone_id>"
},
"name": "run_maestro_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Values the flow reads as ${NAME}, e.g. {"USER_NAME":"ada"} | |
| flow | No | The flow as YAML, up to 256 KB; leave it out with run_id | |
| run_id | No | An earlier run to keep waiting on, instead of starting one | |
| phone_id | Yes | Phone id, ph_… | |
| timeout_s | No | Stop the flow after this long (30–1800 s, default 600) |