kitty_send_key
Send key presses to specific kitty terminal windows using kitty key names like ctrl+a, enter, or alt+left. Supports targeting by window or tab match.
Instructions
Send key presses to specified kitty windows. Keys are kitty key names like "ctrl+a", "enter", "shift+f1", "alt+left". All keys are sent as press events then release events in reverse order.
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": {
"keys": "<keys>"
},
"name": "kitty_send_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Send to all windows. | |
| keys | Yes | Key names to send. Example: ["ctrl+a", "enter", "alt+f1"]. Required. | |
| match | No | Window match expression. | |
| match_tab | No | Tab match expression. | |
| exclude_active | No | Exclude the active window. |