Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

paste_text

Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Paste a block of text into exactly one pane through a tmux buffer. Use for multi-line text, or anything an editor would mangle if typed — bracketed paste stops auto-indent. Set enter to append a newline to that same private buffer. It refuses a target in a human-owned mode and never fans out to synchronized siblings. The temporary buffer is deleted afterwards; if cleanup fails, the result identifies what remains.

All .NET tools · JSON · Source

Arguments

bracketed optional · boolean
Use bracketed paste.

Default: true.

enter optional · boolean
Append Enter to the same paste buffer.

Default: false.

paneId optional · string | null
A pane id. Omit for the active pane.

Default: null.

text required · string
The text to paste.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"bracketed": {
"default": true,
"description": "Use bracketed paste.",
"type": "boolean"
},
"enter": {
"default": false,
"description": "Append Enter to the same paste buffer.",
"type": "boolean"
},
"paneId": {
"default": null,
"description": "A pane id. Omit for the active pane.",
"type": [
"string",
"null"
]
},
"text": {
"description": "The text to paste.",
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}
Output schema
{
"properties": {
"changed": {
"type": "string"
},
"paneId": {
"default": null,
"type": [
"string",
"null"
]
},
"sessionId": {
"default": null,
"type": [
"string",
"null"
]
},
"windowId": {
"default": null,
"type": [
"string",
"null"
]
}
},
"required": [
"changed"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Paste text"
}
Esc

Type to search.