wait
Wait for a specified UI readiness condition—duration, text, selector, or stable screen—before proceeding. Extend the default 90-second timeout with a caller-supplied budget.
Instructions
Wait for a duration, text, snapshot ref, selector, or stable UI. Use text, ref, or selector for a specific readiness condition; stable waits until the UI stays quiet for the requested window. Times out after 90s; a caller-supplied budget extends it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| ref | No | ||
| kind | No | ||
| text | No | ||
| udid | No | iOS device UDID selector. | |
| debug | No | Enable debug diagnostics. | |
| depth | No | ||
| runId | No | Lease run identifier. | |
| scope | No | ||
| device | No | Device name selector. | |
| serial | No | Android device or Vega VVD serial selector. | |
| stable | No | ||
| target | No | Alias for deviceTarget on commands without a UI target field. Interaction commands reserve target for the UI element. | |
| tenant | No | Remote tenant identifier. | |
| leaseId | No | Existing lease identifier. | |
| quietMs | No | ||
| session | No | Agent-device session name. | |
| noRecord | No | Do not record this action. | |
| platform | No | Platform selector used to resolve a device. | |
| selector | No | ||
| timeoutMs | No | ||
| durationMs | No | ||
| includeCost | No | Include per-command agent-cost (cost.wallClockMs, …) in structuredContent. Defaults to off; the default response shape is unchanged. | |
| deviceTarget | No | Device target form. Maps to the CLI --target flag. | |
| responseLevel | No | Response verbosity: token-cheap digest / default (today) / full. Defaults to default; the default response shape is unchanged. | |
| mcpOutputFormat | No | MCP text content format. Defaults to optimized agent-friendly text; use json for JSON text. Structured content is always returned separately. | |
| androidDeviceAllowlist | No | Android serial allowlist used for device resolution. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| kind | No | ||
| text | No | ||
| warning | No | ||
| captures | No | ||
| selector | No | ||
| waitedMs | Yes | ||
| nodeCount | No |