Send keys to pane
tmux_send_keysSend keystrokes or special key sequences to a specified tmux pane, with optional Enter keypress to execute commands.
Instructions
Send keystrokes to a tmux target, optionally appending Enter.
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": "tmux_send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH host alias (optional). Uses default host if set. | |
| keys | Yes | The text/keys to send. Supports <SPACE>/<ENTER>/<TAB>/<ESC>. Empty + enter=true sends Enter. | |
| enter | No | Append Enter after the keys. | |
| target | No | Pane target (pane id or session:window.pane). If omitted, uses default pane if set. |