Run a flow (or preview its execution plan)
qa_flow_runRuns saved or inline YAML QA flows on a prepared mobile app, previews per-backend support in plan mode, and returns step-level failure diagnostics with screenshots and health.
Instructions
Run a YAML flow (saved, or inline flowYaml to batch known steps) on the prepared app; mode:"plan" previews per-backend support without a device. Server-side, fail-fast, with setup/teardown; mutating and OCR steps are consent-gated; a failure returns the step, screenshot, failureCode, and health. Pass flow (name/path) or flowYaml, plus variables. Steps: docs/flows.md#step-reference.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "qa_flow_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | Flow name under .swipium/flows, or a .yaml path. | |
| mode | No | ||
| appium | No | plan: Appium session hints. | |
| repeat | No | run: repeat N times to classify flakes. | |
| approve | No | ||
| backend | No | plan: only this backend (default all five). | |
| flowYaml | No | Inline flow YAML. | |
| consentId | No | run: consent for mutating / OCR steps. | |
| sessionId | No | Required for run. | |
| variables | No | run: ${VAR} values (over session inputs and SWIPIUM_* env); secret-like names are redacted. | |
| projectRoot | No | plan: absolute app root for flow names. |