resize_window
Resize a window's width and height without moving it. Specify dimensions in pixels, or use -1 to keep the current value.
Instructions
Resize a window without moving it.
Pass -1 for either dimension to keep its current value.
Parameters
hwnd: The window handle. width: New width in pixels (-1 = keep current). height: New height in pixels (-1 = keep current).
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": {
"hwnd": "<hwnd>"
},
"name": "resize_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hwnd | Yes | ||
| width | No | ||
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||