ui_close_window
Close a top-level window in a .NET application. Optionally specify a window title to target a specific 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 |