resize_window
Resize the Chrome window containing a target tab to exact pixel dimensions for responsive testing across mobile and desktop viewports.
Instructions
Resize the Chrome window containing the target tab to specific pixel dimensions for responsive testing (e.g., 375x812 mobile or 1440x900 desktop).
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_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Target tab ID (defaults to active managed tab). | |
| width | Yes | Target window width in pixels. | |
| height | Yes | Target window height in pixels. |