{
  "name": "paste_text",
  "wireName": "paste_text",
  "source": {
    "repo": "libtmux/libtmux-rs",
    "revision": "f0e37052c232636b61d095817046e6bfc8f2ca40",
    "extractedRevision": "7a5def5921b12f58d47327cf625c039de5fa8ea7",
    "file": "crates/tmux-mcp/src/tools/control.rs",
    "line": 607
  },
  "description": "Put text into a pane through a tmux paste buffer instead of typing it key by key. Use this for anything long or awkward: send_keys types the text, so a shell reading it can react to each character, and a bracketed-paste aware program treats a paste as one block. Optional Enter is appended to that same block. Empty text without Enter is a guarded buffer-free no-op. Paste targets only the named pane, even when synchronized input is enabled. A dead, input-disabled, mode-owned, terminal-attended, or inherited-caller target is refused before setup and again immediately before paste. The private buffer is deleted after setup, refusal, and paste outcomes; observations can still race with tmux. A submitted paste is remembered briefly so wait_for_text can discount its own echo. Send input to a pane's program; a shell that receives it runs it with your user's permissions.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "enter": {
        "default": false,
        "description": "Whether to append Enter to the same paste block.",
        "type": "boolean"
      },
      "pane": {
        "description": "The `%`-prefixed pane to paste into.",
        "type": "string"
      },
      "text": {
        "description": "The text to deliver.",
        "type": "string"
      }
    },
    "required": [
      "pane",
      "text"
    ],
    "type": "object"
  },
  "outputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
      "bytes": {
        "description": "How many bytes came from `text`, excluding optional Enter.",
        "minimum": 0,
        "type": "integer"
      },
      "pane": {
        "description": "The pane it went into.",
        "type": "string"
      }
    },
    "required": [
      "pane",
      "bytes"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Paste Text Into Pane"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "pane-input",
      "tmuxEffects": [
        "change"
      ],
      "toolset": "execute"
    }
  }
}
