glass_window
Perform window operations: focus, resize, move, or read geometry for native GUI apps.
Instructions
Focus/resize/move the window or read its geometry. op: focus|resize|move|geometry.
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": {
"op": "<op>"
},
"name": "glass_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Screen-relative left edge; required only for move. | |
| y | No | Screen-relative top edge; required only for move. | |
| op | Yes | One of: "focus", "resize", "move", "geometry". | |
| width | No | Width in pixels; required only for resize. | |
| height | No | Height in pixels; required only for resize. |