move_window
Move a window to a new screen position by specifying its ID and top-left corner coordinates.
Instructions
Move a window to a new screen position.
Use windows() to find the window ID first.
Args:
window_id: The window ID to move.
x: New horizontal position of the top-left corner.
y: New vertical position of the top-left corner.
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>",
"x": "<x>",
"y": "<y>"
},
"name": "move_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window_id | Yes | ||
| x | Yes | ||
| y | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |