{
  "name": "send_keys",
  "wireName": "send_keys",
  "source": {
    "repo": "libtmux/libtmux-julia",
    "revision": "f3da513be1225d36d5854cd8db5972c01857578e",
    "extractedRevision": "f3da513be1225d36d5854cd8db5972c01857578e",
    "file": "packages/LibTmuxMCP/src/tools.jl",
    "line": 4
  },
  "description": "Send explicit key tokens or literal text to one captured target. No Enter is added; use a separate Enter token when intended.",
  "schemaStatus": "runtime",
  "enabledByDefault": true,
  "enableOption": "--tool",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "keys": {
        "items": {
          "description": "Valid UTF-8; at most 1024 bytes",
          "maxLength": 1024,
          "type": "string"
        },
        "maxItems": 64,
        "minItems": 1,
        "type": "array"
      },
      "literal": {
        "default": false,
        "type": "boolean"
      },
      "target": {
        "additionalProperties": false,
        "description": "Explicit captured target; omission requires a configured caller pane",
        "properties": {
          "generation": {
            "description": "Opaque generation from list_panes",
            "maxLength": 128,
            "type": "string"
          },
          "paneId": {
            "description": "Valid UTF-8; at most 64 bytes",
            "maxLength": 64,
            "pattern": "^%(0|[1-9][0-9]*)$",
            "type": "string"
          }
        },
        "required": [
          "paneId",
          "generation"
        ],
        "type": "object"
      }
    },
    "required": [
      "target",
      "keys"
    ],
    "type": "object"
  },
  "outputSchema": {
    "anyOf": [
      {
        "additionalProperties": false,
        "properties": {
          "completed": {
            "type": "boolean"
          },
          "generationGuarantee": {
            "type": "string"
          },
          "target": {
            "additionalProperties": false,
            "properties": {
              "generation": {
                "description": "Opaque generation from list_panes",
                "maxLength": 128,
                "type": "string"
              },
              "paneId": {
                "description": "Valid UTF-8; at most 64 bytes",
                "maxLength": 64,
                "pattern": "^%(0|[1-9][0-9]*)$",
                "type": "string"
              }
            },
            "required": [
              "paneId",
              "generation"
            ],
            "type": "object"
          }
        },
        "required": [
          "completed",
          "generationGuarantee",
          "target"
        ],
        "type": "object"
      },
      {
        "properties": {
          "error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "effects": {
                "enum": [
                  "none",
                  "possible"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              }
            },
            "required": [
              "code",
              "message",
              "effects",
              "retryable"
            ],
            "type": "object"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      }
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false
  }
}
