ui_resize_window
Resizes a window to specified width and height. Returns a failure reason if the window cannot be resized.
Instructions
Resize a window to the given dimensions via TransformPattern.
Returns {resized: false, reason: "..."} if the window cannot be resized (CanResize = false). Does NOT raise an exception in that case.
Args: width: Target window width in pixels. height: Target window height in pixels. window_title: Optional partial title match. Omit to target main window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| window_title | No |