kitty_set_spacing
Set padding and margin spacing for kitty terminal windows using key=value settings such as margin=20 or padding-left=10.
Instructions
Set paddings and margins for specified kitty windows. Settings are "key=value" strings like "margin=20", "padding-left=10", "margin-h=30", "padding-v=5". Use "default" as value to reset.
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": {
"settings": "<settings>"
},
"name": "kitty_set_spacing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Apply to all windows. | |
| match | No | Window match expression. | |
| settings | Yes | Array of spacing specs in "key=value" format. Example: ["margin=20", "padding-left=10"]. Required. | |
| match_tab | No | Tab match expression. | |
| configured | No | Also change the configured spacing. |