glass_window
Focus, resize, move, or retrieve the geometry of a window. Choose the operation and provide required coordinates or dimensions.
Instructions
Focus/resize/move the window or read its geometry. op: focus|resize|move|geometry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New left edge for `op: "move"`, required there and ignored otherwise. Screen coordinates — the one place in this API that is not window-relative, since a window cannot be positioned relative to itself. | |
| y | No | New top edge for `op: "move"`, required there and ignored otherwise. Screen coordinates; see `x`. | |
| op | Yes | One of: "focus", "resize", "move", "geometry". | |
| width | No | New width in pixels for `op: "resize"`, required there and ignored otherwise. | |
| height | No | New height in pixels for `op: "resize"`, required there and ignored otherwise. |