wait_text
Wait for on-screen text to appear or disappear, replacing blind sleeps with instant detection. Use for UI state changes like button flips or dialogs.
Instructions
Wait for on-screen text to appear (or disappear). Replaces blind sleeps.
Use for in-window state no compositor event covers: button flips (UPDATE→PLAY), page content, dialogs. Returns instantly on match.
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": {
"target": "<target>"
},
"name": "wait_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| target | Yes | ||
| window | No | ||
| monitor | No | ||
| timeout | No | ||
| disappear | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |