{
  "name": "run_shell_command",
  "wireName": "run_shell_command",
  "source": {
    "repo": "libtmux/libtmux-swift",
    "revision": "254f8b2be7eb60cacc3ffcb3ea8e456784f582df",
    "extractedRevision": "dd646bf5d63b9cf9816d2bb919c31f44cff2bfe4",
    "file": "Sources/LibTmuxMCP/ToolOperation.swift",
    "line": 41
  },
  "description": "Run a shell command in a pane with your user's permissions. Run one command in a singular trusted POSIX shell and return bounded output.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "command": {
        "description": "Caller-controlled command.",
        "type": "string"
      },
      "force": {
        "description": "Caller-controlled force.",
        "type": "boolean"
      },
      "maxLines": {
        "description": "Caller-controlled maxLines.",
        "maximum": 2000,
        "minimum": 1,
        "type": "integer"
      },
      "paneId": {
        "description": "Caller-controlled paneId.",
        "type": "string"
      },
      "timeoutMs": {
        "description": "Caller-controlled timeoutMs.",
        "maximum": 600000,
        "minimum": 100,
        "type": "integer"
      }
    },
    "required": [
      "command",
      "paneId"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "droppedLines": {
        "type": "integer"
      },
      "effectiveTimeout": {
        "type": "number"
      },
      "exitStatus": {
        "type": [
          "integer",
          "null"
        ]
      },
      "linesMissed": {
        "type": "boolean"
      },
      "output": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "pane": {
        "type": "string"
      },
      "paneRef": {
        "type": "string"
      },
      "seconds": {
        "type": "number"
      },
      "timedOut": {
        "type": "boolean"
      }
    },
    "required": [
      "droppedLines",
      "effectiveTimeout",
      "exitStatus",
      "linesMissed",
      "output",
      "pane",
      "paneRef",
      "seconds",
      "timedOut"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Run shell command"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Run a shell command in a pane with your user's permissions. Run one command in a singular trusted POSIX shell and return bounded output.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "command": {
            "description": "Caller-controlled command.",
            "type": "string"
          },
          "force": {
            "description": "Caller-controlled force.",
            "type": "boolean"
          },
          "maxLines": {
            "description": "Caller-controlled maxLines.",
            "maximum": 2000,
            "minimum": 1,
            "type": "integer"
          },
          "paneId": {
            "description": "Caller-controlled paneId.",
            "type": "string"
          },
          "timeoutMs": {
            "description": "Caller-controlled timeoutMs.",
            "maximum": 600000,
            "minimum": 100,
            "type": "integer"
          }
        },
        "required": [
          "command",
          "paneId"
        ],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "run_shell_command",
      "nestedAuthority": [],
      "outputClasses": [
        "terminal-content",
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "droppedLines": {
            "type": "integer"
          },
          "effectiveTimeout": {
            "type": "number"
          },
          "exitStatus": {
            "type": [
              "integer",
              "null"
            ]
          },
          "linesMissed": {
            "type": "boolean"
          },
          "output": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "pane": {
            "type": "string"
          },
          "paneRef": {
            "type": "string"
          },
          "seconds": {
            "type": "number"
          },
          "timedOut": {
            "type": "boolean"
          }
        },
        "required": [
          "droppedLines",
          "effectiveTimeout",
          "exitStatus",
          "linesMissed",
          "output",
          "pane",
          "paneRef",
          "seconds",
          "timedOut"
        ],
        "type": "object"
      },
      "processReach": "pane-command",
      "title": "Run shell command",
      "tmuxEffects": [
        "change",
        "observe"
      ],
      "toolset": "execute"
    }
  }
}
