resize_page
Resize the browser window to exact width and height for responsive testing or screenshots. Optionally target a specific page by ID.
Instructions
Resizes the page's window so that the page has the specified dimension
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_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| pageId | No | Targets a specific page by ID. Defaults to the selected page. |