da_wait_for_window
Block execution until a window with a matching title appears. Supports substring, exact, or regex matching, configurable timeout, and polling interval for app-launch synchronization.
Instructions
Block until a window with a matching title appears in da_window_list, or timeoutMs (default 5000, max 60000) elapses. Match strategies: "substring" (default, case-insensitive), "exact", or "regex" (full match). Polls every intervalMs (default 200, min 50, max 5000). Throws NOT_FOUND on timeout — use this after da_launch to wait for a newly-spawned app to finish painting before clicking inside it.
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": {
"title": "<title>"
},
"name": "da_wait_for_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | ||
| title | Yes | ||
| timeoutMs | No | ||
| intervalMs | No |