resize_window
Resize the browser window containing a specified tab by setting its width and height, so you can control viewport dimensions for testing or layout checks.
Instructions
Resize the browser window containing a tab.
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": {
"tabId": "<tabId>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID, from tabs_list or tab_create | |
| width | Yes | ||
| height | Yes |