# paste_text

Source: https://libtmux.org/en/cxx/latest/mcp/tools/paste_text/

> 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 is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

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.

[All C++ tools](../) · [JSON](../paste_text.json) · [Source](https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/apps/mcp/src/tool_catalog.cpp#L2976)

## Arguments

* `enter` optional · boolean

  Append Enter to the same private paste buffer.

* `paneId` required · string

  Stable pane ID.

* `text` required · string

  Literal text to paste.

## Schemas

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