resize_window
Resize a desktop window to precise pixel dimensions. Provide the window ID, new width, and height to adjust its size.
Instructions
Resize a window.
Use windows() to find the window ID first.
Args:
window_id: The window ID to resize.
width: New width in pixels.
height: New height in pixels.
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": {
"window_id": "<window_id>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | ||
| width | Yes | ||
| height | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |