tmux_send_keys
Send commands and keyboard input to tmux sessions for terminal automation. Execute commands in remote SSH sessions, automate repetitive tasks, and control multiple terminal panes programmatically.
Instructions
Send keys/commands to a tmux session. Automatically appends Enter unless literal mode is specified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_name | Yes | Name of the tmux session | |
| keys | Yes | Keys or command to send to the session | |
| literal | No | If true, send keys literally without appending Enter (default: false) |
Input Schema (JSON Schema)
{
"properties": {
"keys": {
"description": "Keys or command to send to the session",
"type": "string"
},
"literal": {
"description": "If true, send keys literally without appending Enter (default: false)",
"type": "boolean"
},
"session_name": {
"description": "Name of the tmux session",
"type": "string"
}
},
"required": [
"session_name",
"keys"
],
"type": "object"
}