Move a window on screen
browser_set_window_positionMove the browser window to specific screen coordinates and optionally resize it, enabling precise placement across single or multi-monitor setups with negative coordinates.
Instructions
Move the window to a screen coordinate (window.moveTo) and optionally resize it (window.resizeTo). Coordinates are in screen pixels. Use browser_get_window_geometry first if you need the current values, and remember multi-monitor setups can have negative coordinates.
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": {
"x": "<x>",
"y": "<y>"
},
"name": "browser_set_window_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Screen x | |
| y | Yes | Screen y | |
| width | No | Optional new width | |
| height | No | Optional new height |