resize_window
Resize a browser profile's window to a requested CSS-pixel page area; the result reports the size actually in effect when a tiling window manager refuses or changes the request.
Instructions
Resize a profile's window so that the page area has the given size in CSS pixels. A tiling window manager may refuse; the reply gives the size actually in effect.
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 to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session. | |
| width | Yes | Page area width in CSS pixels. | |
| height | Yes | Page area height in CSS pixels. |