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}.
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": {
"target_pane": "<target_pane>"
},
"name": "tmux_send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_pane | Yes | ||
| text | No | ||
| keys | No | ||
| enter | No | ||
| literal | No | ||
| target | No |