send_keys
-
Send explicit key tokens or literal text to one captured target. No Enter is added; use a separate Enter token when intended. Configured tmux hooks and aliases may have effects, including during observation.
- MCP request method
tools/callSendsend_keysas the tool name, with the arguments below.- Wraps
LibTmux.send_keysThe library call this tool makes:packages/LibTmuxMCP/src/tools.jl:862.- Tool selection
- Enabled by default.
Arguments
-
- minItems
1- maxItems
64
-
Explicit captured target; omission requires a configured caller pane
-
Opaque generation from list_panes
- maxLength
128
-
Valid UTF-8; at most 64 bytes
- maxLength
64- pattern
"^%(0|[1-9][0-9]*)$"
No other properties are accepted.
-
No other arguments are accepted.
Result
Matches one or more variants.
-
-
-
Opaque generation from list_panes
- maxLength
128
-
Valid UTF-8; at most 64 bytes
- maxLength
64- pattern
"^%(0|[1-9][0-9]*)$"
No other properties are accepted.
-
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Capability
- Toolset
- Execute Start or drive pane processes, or store state that can control later execution.
- Process reach
pane-input- tmux effects
observechange
Every Julia 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": {"items": {"description": "Valid UTF-8; at most 1024 bytes","maxLength": 1024,"type": "string"},"maxItems": 64,"minItems": 1,"type": "array"},"literal": {"default": false,"type": "boolean"},"target": {"additionalProperties": false,"description": "Explicit captured target; omission requires a configured caller pane","properties": {"generation": {"description": "Opaque generation from list_panes","maxLength": 128,"type": "string"},"paneId": {"description": "Valid UTF-8; at most 64 bytes","maxLength": 64,"pattern": "^%(0|[1-9][0-9]*)$","type": "string"}},"required": ["paneId","generation"],"type": "object"}},"required": ["target","keys"],"type": "object"}Output schema
{"anyOf": [{"additionalProperties": false,"properties": {"completed": {"type": "boolean"},"generationGuarantee": {"type": "string"},"target": {"additionalProperties": false,"properties": {"generation": {"description": "Opaque generation from list_panes","maxLength": 128,"type": "string"},"paneId": {"description": "Valid UTF-8; at most 64 bytes","maxLength": 64,"pattern": "^%(0|[1-9][0-9]*)$","type": "string"}},"required": ["paneId","generation"],"type": "object"}},"required": ["completed","generationGuarantee","target"],"type": "object"},{"properties": {"error": {"additionalProperties": false,"properties": {"code": {"type": "string"},"effects": {"enum": ["none","possible"]},"message": {"type": "string"},"output": {"type": "string"},"retryable": {"type": "boolean"}},"required": ["code","message","effects","retryable"],"type": "object"}},"required": ["error"],"type": "object"}],"type": "object"}