maestro_run_flow
Run a UI test flow on a simulator or emulator using Maestro. Capture screenshots during the flow for app store publishing.
Instructions
Run a UI test flow on a simulator/emulator using Maestro. Accepts structured steps that are converted to a Maestro flow YAML. Use takeScreenshot steps to capture screenshots during the flow. Returns all captured screenshots as images.
Available actions: launchApp, stopApp, clearState, tapOn, tapOnPoint, longPressOn, doubleTapOn, inputText, eraseText, swipe, scroll, scrollUntilVisible, back, home, pressKey, hideKeyboard, takeScreenshot, assertVisible, assertNotVisible, waitForAnimationToEnd, wait, openLink, copyTextFrom, pasteText, runScript
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": {
"appId": "<appId>",
"steps": "<steps>"
},
"name": "maestro_run_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | App bundle identifier (e.g., com.calcvault.app) | |
| steps | Yes | Array of flow steps to execute sequentially | |
| outputDir | No | Output directory for flow results and screenshots |