paste_text
-
Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Pastes literal text only to its target; optional Enter appends one newline to the same private buffer. Non-empty text requires tmux 3.4 for safe named-buffer cleanup.
- MCP request method
tools/callSendpaste_textas the tool name, with the arguments below.
Arguments#
-
append a newline that submits the text
-
the pane id, such as %1
-
the literal text to paste
No other arguments are accepted.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Paste text"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"enter": {"description": "append a newline that submits the text","type": "boolean"},"pane_id": {"description": "the pane id, such as %1","type": "string"},"text": {"description": "the literal text to paste","type": "string"}},"required": ["pane_id","text"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"bytes": {"type": "integer"},"pane_id": {"type": "string"}},"required": ["pane_id","bytes"],"type": "object"}