ui_close_window
Close a top-level window by matching an optional title; omit to close the main application window. Use for dismissing dialogs or ending a session.
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 |