ui_close_window
Close any top-level window in the debugged .NET GUI application. Provide a partial window title to target a specific dialog or modal; leave it blank to close the main window.
Instructions
Close a top-level window via WindowPattern.
After closing, subsequent ui_* calls return an error if the closed window was the active session window. Use window_title to target a specific window (e.g. a modal dialog); omit to close the main application window.
Args: window_title: Optional partial title match to target a specific window. Omit to target the main connected window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_title | No |