resize_window
Adjusts the Zen browser window containing a chosen tab by setting width and height, enabling viewport control for layout checks or automation.
Instructions
Resize the Zen window containing the tab.
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": {
"width": "<width>",
"height": "<height>"
},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab to act on. Defaults to the active tab of the focused Zen window. | |
| width | Yes | ||
| height | Yes |