kitty_resize_os_window
Resize, maximize, fullscreen, or hide kitty terminal windows. Specify dimensions in cells or pixels, and target specific windows.
Instructions
Resize, show, hide, or toggle fullscreen/maximized state of kitty OS windows. Note that some window managers (e.g. tiling WMs) may not allow applications to resize their windows.
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": "kitty_resize_os_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | No | Resize the window this command runs in. | |
| unit | No | Size unit for width/height. Default: cells. | |
| match | No | Window match expression. | |
| width | No | Desired window width. 0 leaves unchanged. Default: 0. | |
| action | No | The action to perform. Default: "resize". | |
| height | No | Desired window height. 0 leaves unchanged. Default: 0. | |
| incremental | No | Treat sizes as increments on existing size. |