{
  "name": "send_keys_batch",
  "wireName": "send_keys_batch",
  "source": {
    "repo": "libtmux/libtmux-swift",
    "revision": "254f8b2be7eb60cacc3ffcb3ea8e456784f582df",
    "extractedRevision": "dd646bf5d63b9cf9816d2bb919c31f44cff2bfe4",
    "file": "Sources/LibTmuxMCP/ToolOperation.swift",
    "line": 43
  },
  "description": "Send input to a pane's program; a shell that receives it runs it with your user's permissions. Send an ordered bounded batch with a fresh check for every row.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "onError": {
        "description": "Caller-controlled onError.",
        "enum": [
          "stop",
          "continue"
        ],
        "type": "string"
      },
      "operations": {
        "description": "Caller-controlled operations.",
        "items": {
          "additionalProperties": false,
          "properties": {
            "enter": {
              "type": "boolean"
            },
            "force": {
              "type": "boolean"
            },
            "keys": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "literal": {
              "type": "boolean"
            },
            "paneId": {
              "type": "string"
            }
          },
          "required": [
            "paneId",
            "keys"
          ],
          "type": "object"
        },
        "maxItems": 64,
        "type": "array"
      }
    },
    "required": [
      "operations"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "completed": {
        "type": "integer"
      },
      "failures": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "index": {
              "type": "integer"
            },
            "reason": {
              "type": "string"
            }
          },
          "required": [
            "index",
            "reason"
          ],
          "type": "object"
        },
        "type": "array"
      },
      "targets": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "index": {
              "type": "integer"
            },
            "resolvedPaneIds": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "index",
            "resolvedPaneIds"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "completed",
      "failures",
      "targets"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Send keys batch"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Send input to a pane's program; a shell that receives it runs it with your user's permissions. Send an ordered bounded batch with a fresh check for every row.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "onError": {
            "description": "Caller-controlled onError.",
            "enum": [
              "stop",
              "continue"
            ],
            "type": "string"
          },
          "operations": {
            "description": "Caller-controlled operations.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "enter": {
                  "type": "boolean"
                },
                "force": {
                  "type": "boolean"
                },
                "keys": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "literal": {
                  "type": "boolean"
                },
                "paneId": {
                  "type": "string"
                }
              },
              "required": [
                "paneId",
                "keys"
              ],
              "type": "object"
            },
            "maxItems": 64,
            "type": "array"
          }
        },
        "required": [
          "operations"
        ],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "send_keys_batch",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "completed": {
            "type": "integer"
          },
          "failures": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "index": {
                  "type": "integer"
                },
                "reason": {
                  "type": "string"
                }
              },
              "required": [
                "index",
                "reason"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "targets": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "index": {
                  "type": "integer"
                },
                "resolvedPaneIds": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "index",
                "resolvedPaneIds"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "completed",
          "failures",
          "targets"
        ],
        "type": "object"
      },
      "processReach": "pane-input",
      "title": "Send keys batch",
      "tmuxEffects": [
        "change",
        "observe"
      ],
      "toolset": "execute"
    }
  }
}
