nex_browser_resize
Resize the active browser page viewport to a specified width and height, optionally targeting a page or session, to test layouts and responsive behavior.
Instructions
Resize the active page 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": "nex_browser_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | ||
| height | Yes | ||
| pageId | No | Defaults to the active page | |
| sessionId | No | Defaults to the active session |