move_window
Move or resize a desktop window by specifying new position and size values. Use -1 to keep current values.
Instructions
Move and/or resize a window.
Pass -1 for any parameter to keep its current value.
Parameters
hwnd: The window handle. x: New left edge in pixels (-1 = keep current). y: New top edge in pixels (-1 = keep current). 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": "move_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| hwnd | Yes | ||
| width | No | ||
| height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||