# paste_text

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

> Send input to a pane's program; a shell that receives it runs it with your user's permissions. Put text into a pane without tmux interpreting any of it as key names. Use for content — a password, a code block, anything with characters a key parser would claim.

MCP is in development

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

Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Put text into a pane without tmux interpreting any of it as key names. Use for content — a password, a code block, anything with characters a key parser would claim.

[All TypeScript tools](../) · [JSON](../paste_text.json) · [Source](https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/mcp/src/tools/input.ts#L189)

## Arguments

* `enter` optional · boolean

  Press Enter afterwards. Default false.

* `force` optional · boolean

  Allow writing to the pane this server itself was called from, which is otherwise refused. It does not override the refusal to write to a pane a person is watching — a pane an attached client has on screen is still refused with force.

* `paneId` required · string

  Stable pane id, e.g. %1.

* `text` required · string

  Text to paste. Sent through a tmux buffer, so a shell's line editor does not redraw on every character.

## Schemas

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