run_maestro_flow
Execute mobile UI test flows with step-by-step results and automatic failure diagnostics including screenshots and logs.
Instructions
Run a Maestro E2E test flow. Returns structured results with step-by-step status. On failure, generates a failure bundle with screenshot and logs for debugging.
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": {
"flowPath": "<flowPath>",
"platform": "<platform>"
},
"name": "run_maestro_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowPath | Yes | Path to the Maestro flow YAML file | |
| platform | Yes | Target platform | |
| deviceId | No | Device ID or name (optional, uses first available) | |
| appId | No | App package (Android) or bundle ID (iOS) | |
| timeoutMs | No | Timeout in milliseconds (default: 300000) | |
| generateFailureBundle | No | Generate failure bundle with screenshot and logs on failure (default: true) | |
| env | No | Environment variables for the flow |