manage_window
Control browser window size, position, and state by retrieving current dimensions, setting coordinates, or maximizing and minimizing the active window.
Instructions
Get or change browser window geometry and state.
Args: action: - "get_rect": Return the current window coordinates and size. - "set_rect": Set x, y, width, and height. All four are required. - "maximize": Maximize the browser window. - "minimize": Minimize the browser window. x: Horizontal screen position for set_rect. y: Vertical screen position for set_rect. width: Window width for set_rect. height: Window height for set_rect.
Use this tool for browser-window geometry/state. For switching between browser tabs, use manage_tabs instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | No | ||
| action | No | get_rect | |
| height | No |