wait_for
Waits for specified text to appear in a Java Swing UI snapshot, or to disappear when gone is true; also waits for the first window after launching an app.
Instructions
Wait until text appears anywhere in the snapshot (or disappears with gone=true). Without text, waits for the first window to appear, which is useful right after launch_app. Returns the snapshot; a timeout is an error, with the snapshot at that moment.
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 | ||
| text | No | ||
| timeoutMs | No | Default 10000 |