Maximize, minimize, restore or go fullscreen
browser_set_window_stateSet a Firefox window to normal, maximized, minimized, or fullscreen so automated workflows can control window layout before interacting with pages.
Instructions
Change the window state: normal, maximized, minimized or fullscreen. This is the title-bar buttons and F11, done programmatically. MEASURED: fullscreen is a PROPERTY (window.fullScreen = true), while the others are methods (maximize/minimize/restore). Minimizing hides the window — restore it before interacting again.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"state": "<state>"
},
"name": "browser_set_window_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Target window state |