browser_window
Get or set the browser window's state, dimensions, and position to inspect or control normal, minimized, maximized, or fullscreen modes.
Instructions
Manage browser window: inspect bounds or set state ('normal', 'minimized', 'maximized', 'fullscreen') and dimensions/position.
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": "browser_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Window top coordinate | |
| left | No | Window left coordinate | |
| state | No | Window state | |
| width | No | Window width in pixels | |
| action | No | Action: 'get' or 'set' | get |
| height | No | Window height in pixels |