wait_for
Pause automation until a UI element, text, or screen idle condition is met, then return true or false.
Instructions
Wait for something instead of sleeping. Returns met=true/false.
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 |
|---|---|---|---|
| gone | No | Wait for it to disappear instead | |
| name | No | Accessible element name to wait for | |
| role | No | With name: required role, e.g. 'button' | |
| text | No | Visible text to wait for (OCR) | |
| timeout | No | ||
| screen_idle | No | Wait until the screen stops changing |