electron_resize_window
Resize an Electron app window to exact pixel dimensions and optionally set its screen position for consistent UI layout or automated testing.
Instructions
Resize the Electron app window to specified dimensions using JavaScript. Also supports setting window position.
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": "electron_resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | Yes | Window width in pixels | |
| height | Yes | Window height in pixels |