Tmux Send Keys
tmux_send_keysSend raw keystrokes to a tmux pane without executing them, enabling interactive program control (debuggers, REPLs, TUIs), control sequences like C-c, and navigation input.
Instructions
Send raw keystrokes without automatic Enter.
For:
Interactive program control (debuggers, REPLs, TUIs)
Control sequences (C-c, navigation)
Typing without executing
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>",
"target_pane": "<target_pane>"
},
"name": "tmux_send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Keys to send. special keys: C-x (Control), M-x (Alt), S-x (Shift), Escape, Up, Left, Home, F1-F24 literal texts: Any text NOT matching special key patterns above Example: ["python", "C-m", "import sys", "C-m"], ["C", "-", "m"] for input C-m as literal | |
| target_pane | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |