resize_page
Resize the active page to specified width and height for consistent viewport testing.
Instructions
Resizes the selected page's window so that the page has specified dimensions.
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 | Page width | |
| height | Yes | Page height |