Resize the window
resize_windowResizes the Chrome window for a specified tab to custom width and height, enabling responsive design testing at target viewport sizes.
Instructions
Resize the window containing the given tab. Useful for responsive testing.
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>",
"tabId": "<tabId>"
},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID whose window to resize (MCP group) | |
| width | Yes | Target window width in pixels | |
| height | Yes | Target window height in pixels |