manage_window
Manage browser window position, size, and state. Get current geometry, set custom dimensions, or maximize/minimize the window.
Instructions
Get or change browser window geometry or state.
Args: action: - "get_rect": Return the current window position 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".Notes:
Use this tool for browser-window geometry and state.
Use manage_tabs for switching between browser tabs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | No | ||
| action | No | get_rect | |
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |