Resize viewport
resizeResize the viewport to specified pixel dimensions to test responsive breakpoints before taking a screenshot.
Instructions
Resize the viewport, e.g. to check a responsive breakpoint before screenshotting.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Viewport width in px | |
| height | Yes | Viewport height in px |