Wait for a setup condition
qa_waitWaits for device_online, metro_ready, wda_ready, or simulator_booted conditions instead of shell sleep; returns satisfied or timedOut to retry.
Instructions
Wait for a setup condition instead of shell sleep: device_online (adb), metro_ready, wda_ready (after qa_wda start returned status:"starting"), or simulator_booted (the bound iOS Simulator, after qa_ios boot returned status:"booting"). Returns satisfied, or timedOut:true (call again). Jobs: qa_job_status waitMs.
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": {
"sessionId": "<sessionId>",
"for": "<for>"
},
"name": "qa_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | Yes | ||
| sessionId | Yes | ||
| timeoutMs | No | default 45000; values above SWIPIUM_MAX_WAIT_MS (default 50000) are clamped. On timedOut, call again to keep waiting. |