resize_window
Emulate a browser tab's viewport size with mobile, tablet, desktop presets or custom dimensions, and set a light or dark color scheme for responsive layout testing.
Instructions
Emulate a viewport size (presets: mobile 375x812, tablet 768x1024, desktop = reset) and/or a color scheme.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID to target. Omit to act on the current tab. | |
| width | No | Custom width. | |
| height | No | Custom height. | |
| preset | No | ||
| colorScheme | No |