Manage Window
manage_windowGet or change browser window geometry and state: retrieve position and size, set exact coordinates, or maximize and 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "manage_window"
}
}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 |