MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

tool MCPlatest

paste_text

paste_text( enter?: boolean, paneId: string, text: string, )
tool [source]

Require the target pane to be live and outside human-owned mode, then stage a private target-only buffer, optionally append Enter, paste it once, and verify cleanup. Empty text without Enter is a guarded buffer-free no-op. Send input to a pane’s program; a shell that receives it runs it with your user’s permissions.

MCP request method
tools/call Send paste_text as the tool name, with the arguments below.

Arguments#

No other arguments are accepted.

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Paste text into a tmux pane"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"properties": {
"enter": {
"description": "Append Enter to the same private paste buffer.",
"type": "boolean"
},
"paneId": {
"description": "Stable pane ID.",
"maxLength": 512,
"type": "string"
},
"text": {
"description": "Literal text to paste.",
"maxLength": 1048576,
"type": "string"
}
},
"required": [
"paneId",
"text"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"changed": {
"type": "boolean"
},
"pane_id": {
"pattern": "^%[0-9]+$",
"type": "string"
}
},
"required": [
"pane_id"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference