wait_until_ready
Detect when a running PySide6 app's UI is ready by waiting for a visible top-level window to stay quiet. Use after UI reloads or rebuilds to get a readiness snapshot.
Instructions
Wait until the app UI is ready: a visible top-level window that has been
quiet (no layout/paint activity) for quiet_ms milliseconds.
Use after an action that reloads or rebuilds the UI. Returns the readiness snapshot. Does not launch anything — the app must already be running.
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_ready"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | App pid from launch_app. Omit to target the last launched app. Required only when several apps are running and you need a specific one. | |
| timeout | No | ||
| quiet_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |