wait_until_idle
Block until the X11 screen stops redrawing (ignoring tiny updates like cursors), or a timeout occurs, to synchronize automation with a settled UI.
Instructions
Wait until nothing on screen has been redrawn for quiet_ms (or timeout seconds pass, max 60).
Each redrawn rectangle smaller than min_area square pixels (default about 20x20:
blinking text cursors, small spinners) is ignored; min_area=0 counts every pixel.
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_until_idle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| min_area | No | ||
| quiet_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |