kitty_send_text
Send text to specified kitty windows using escape sequences, file contents, or bracketed paste mode.
Instructions
Send arbitrary text to specified kitty windows. The text follows Python escaping rules on the kitty side (e.g. \e for ESC, \n for newline). Use from_file to send file contents. Use bracketed_paste to control paste mode behavior.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Send to all windows. | |
| text | No | The text to send. Required unless from_file is provided. Supports kitty escape sequences (\e, \n, etc.). | |
| match | No | Window match expression. | |
| from_file | No | Path to a file whose contents to send. Contents are sent as-is (no escape interpretation). | |
| match_tab | No | Tab match expression. | |
| session_id | No | Session ID for broadcast sessions. | |
| exclude_active | No | Exclude the active window. | |
| bracketed_paste | No | Bracketed paste mode. "auto" lets kitty decide based on the running program. Default: not set (kitty decides). |