Resize window
resize_windowResize the browser window containing a specific tab by setting its outer width and height in pixels, so you can test responsive layouts and breakpoints in a real Firefox-based browser.
Instructions
Resize the Zen window containing a tab (outer size in pixels), e.g. to test responsive layouts.
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": {
"tabId": "<tabId>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID from tabs_context / tabs_create. | |
| width | Yes | ||
| height | Yes |