Resize the focused window
window_resizeResize a window by pixel deltas; positive values expand, negative shrink. Target the focused window or specify a match/address to resize an explicit one.
Instructions
Resize by pixel deltas, e.g. x=100 grows right side, x=-100 shrinks. relative=true is implied. Optionally pass address/match to resize an explicit window instead of the focused one (safer with follow_mouse=1).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "window_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| match | No | class or title substring to find an explicit target | |
| address | No | exact Hyprland address like 0x5630... (wins over match) |