kitty_action
Execute any kitty terminal action on a specified window using action names and optional arguments from kitty.conf key mappings.
Instructions
Run a mappable kitty action in the specified window. Actions are the same action names used in kitty.conf key mappings (e.g. "scroll_line_down", "copy_to_clipboard", "new_tab"). Arguments are space-separated within the action string.
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": {
"action": "<action>"
},
"name": "kitty_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | No | Run the action on the window this command runs in. | |
| match | No | Window match expression. | |
| action | Yes | The action to perform, with optional arguments as a single string (e.g. "scroll_line_down 5"). Required. | |
| no_response | No | Don't wait for a response. |