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

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.

All Java tools · JSON · Source

Arguments

enter optional · boolean
Append a newline that submits the text. Defaults to false.

Default: false.

pane_id required · string
The pane to act on, such as %1. Every listing tool returns these.
text required · string
The literal text to paste.

Schemas

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

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"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Paste text"
}
Esc

Type to search.