resize_page
Resizes a specific browser page to requested width and height, allowing automation scripts to control window dimensions by page ID.
Instructions
Resizes the page's window so that the page has 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": {
"pageId": "<pageId>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Page width | |
| height | Yes | Page height | |
| pageId | Yes | Targets a specific page by ID. |