page_resize
Resize a browser instance's viewport to custom width and height for responsive testing or automation.
Instructions
Resize the browser viewport for an instance.
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": {
"instanceId": "<instanceId>",
"width": "<width>",
"height": "<height>"
},
"name": "page_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Viewport width in pixels | |
| height | Yes | Viewport height in pixels | |
| instanceId | Yes | Target instance |