tmux_send_keys
Send literal text or interpreted keystrokes to a tmux pane. Optionally append an Enter keypress to execute commands.
Instructions
Send input to a pane.
Two modes (provide exactly one of text / keys):
text: a literal string. With literal=True (default) it is sent exactly as written viasend-keys -l(so "C-c" types those three characters). Set literal=False to let tmux interpret key names inside the string.keys: a list of tmux key tokens interpreted by tmux, e.g. ["C-c"], ["Escape"], ["Up", "Up", "Enter"].
enter=True appends an Enter keypress after the input — the usual way to
"run" a typed command. Returns {"sent": True}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_pane | Yes | ||
| text | No | ||
| keys | No | ||
| enter | No | ||
| literal | No | ||
| target | No |