browser_resize
Resize the browser window to specified pixel dimensions to adapt viewport for responsive testing or screen capture. Provide width and height inputs to set exact window size.
Instructions
Resize browser window
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 | Window width in pixels | |
| height | Yes | Window height in pixels |