send_keys
-
Require every configured synchronized pane to be live and outside human-owned mode, then send one validated tmux key name. The library’s literal-command checks do not read a command nested in a string tmux parses itself, such as an if-shell body. Send input to a pane’s program; a shell that receives it runs it with your user’s permissions.
- MCP request method
tools/callSendsend_keysas the tool name, with the arguments below.
Arguments
No other arguments are accepted.
Result
Returns object
-
- pattern
"^%[0-9]+$"
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Send keys to a tmux pane"
Capability
- Toolset
- Execute Start or drive pane processes, or store state that can control later execution.
- Process reach
pane-input- tmux effects
observechange
Every C++ tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"keys": {"description": "One tmux key name.","maxLength": 256,"type": "string"},"paneId": {"description": "Stable pane ID.","maxLength": 512,"type": "string"}},"required": ["paneId","keys"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"pane_id": {"pattern": "^%[0-9]+$","type": "string"},"target_pane_ids": {"items": {"pattern": "^%[0-9]+$","type": "string"},"type": "array"}},"required": ["pane_id","target_pane_ids"],"type": "object"}