paste_text
-
Pastes one literal text block into one target pane through an ephemeral buffer; paste-buffer input does not fan out to synchronized peers. The target cannot be caller or attended. Send input to a pane’s program; a shell that receives it runs it with your user’s permissions.
- MCP request method
tools/callSendpaste_textas the tool name, with the arguments below.
Arguments#
-
Append a newline that submits the text. Defaults to false.
-
The pane to act on, such as %1. Every listing tool returns these.
-
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": {"default": false,"description": "Append a newline that submits the text. Defaults to false.","type": "boolean"},"pane_id": {"description": "The pane to act on, such as %1. Every listing tool returns these.","type": "string"},"text": {"description": "The literal text to paste.","type": "string"}},"required": ["pane_id","text"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"characters": {"type": "integer"},"lines": {"type": "integer"},"note": {"type": "string"},"pane_id": {"type": "string"}},"required": ["pane_id","characters","lines"],"type": "object"}