resize_window
Adjust the browser viewport to a specified pixel width and height, optionally targeting a specific tab.
Instructions
Resize the browser viewport
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 | Tab ID (optional) | |
| width | Yes | Viewport width in pixels | |
| height | Yes | Viewport height in pixels |