Resize browser window
browser_resizeResize the browser window. Uses actual window bounds when a CDP connection exists, otherwise emulates the viewport.
Instructions
Resize the browser window. Uses the real window bounds when a browser-level CDP connection is available, otherwise emulates the viewport.
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": "browser_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Width in pixels | |
| height | Yes | Height in pixels |