wait_for
Pauses automation until a UI element matching given text or resource ID appears, with a configurable timeout, so scripts can synchronize with screen changes.
Instructions
Wait until an element whose label (text or content description) contains text, and/or with
resource id resource_id, appears.
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": "wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| timeout | No | ||
| resource_id | No | ||
| observe_after | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |