{
  "name": "run_shell_command",
  "wireName": "run_shell_command",
  "source": {
    "repo": "libtmux/libtmux-go",
    "revision": "52968a3181c1c9e6d1b26c565d4b170968ae61c0",
    "extractedRevision": "52968a3181c1c9e6d1b26c565d4b170968ae61c0",
    "file": "mcp/manifest_catalog.go",
    "line": 491
  },
  "description": "Run a shell command in a pane with your user's permissions. Runs one command you author in a pane that is not synchronized with others, rechecks the pane just before sending, and waits for it to finish, reporting its exit status.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "command": {
        "description": "the shell command run in the pane's interactive shell",
        "type": "string"
      },
      "max_lines": {
        "description": "maximum output lines, keeping the newest",
        "minimum": 0,
        "type": "integer"
      },
      "pane_id": {
        "description": "the pane id, such as %1",
        "type": "string"
      },
      "suppress_history": {
        "description": "best-effort persistent history suppression",
        "type": "boolean"
      },
      "timeout": {
        "description": "seconds to wait before giving up",
        "minimum": 0,
        "type": "number"
      }
    },
    "required": [
      "pane_id",
      "command"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "effective_timeout_seconds": {
        "type": "integer"
      },
      "exit_status": {
        "type": [
          "null",
          "integer"
        ]
      },
      "lines_missed": {
        "type": "boolean"
      },
      "output": {
        "items": {
          "type": "string"
        },
        "type": [
          "array"
        ]
      },
      "output_unavailable": {
        "type": "string"
      },
      "pane_id": {
        "type": "string"
      },
      "resolved_pane_ids": {
        "items": {
          "type": "string"
        },
        "type": [
          "array"
        ]
      },
      "running": {
        "type": "string"
      },
      "timed_out": {
        "type": "boolean"
      },
      "timeout_clamped": {
        "type": "boolean"
      }
    },
    "required": [
      "pane_id",
      "resolved_pane_ids",
      "timed_out",
      "output"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "openWorldHint": true,
    "title": "Run a 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. Runs one command you author in a pane that is not synchronized with others, rechecks the pane just before sending, and waits for it to finish, reporting its exit status.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "command": {
            "description": "the shell command run in the pane's interactive shell",
            "type": "string"
          },
          "max_lines": {
            "description": "maximum output lines, keeping the newest",
            "minimum": 0,
            "type": "integer"
          },
          "pane_id": {
            "description": "the pane id, such as %1",
            "type": "string"
          },
          "suppress_history": {
            "description": "best-effort persistent history suppression",
            "type": "boolean"
          },
          "timeout": {
            "description": "seconds to wait before giving up",
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "pane_id",
          "command"
        ],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "run_shell_command",
      "nestedAuthority": null,
      "outputClasses": [
        "terminal-content",
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "effective_timeout_seconds": {
            "type": "integer"
          },
          "exit_status": {
            "type": [
              "null",
              "integer"
            ]
          },
          "lines_missed": {
            "type": "boolean"
          },
          "output": {
            "items": {
              "type": "string"
            },
            "type": [
              "array"
            ]
          },
          "output_unavailable": {
            "type": "string"
          },
          "pane_id": {
            "type": "string"
          },
          "resolved_pane_ids": {
            "items": {
              "type": "string"
            },
            "type": [
              "array"
            ]
          },
          "running": {
            "type": "string"
          },
          "timed_out": {
            "type": "boolean"
          },
          "timeout_clamped": {
            "type": "boolean"
          }
        },
        "required": [
          "pane_id",
          "resolved_pane_ids",
          "timed_out",
          "output"
        ],
        "type": "object"
      },
      "processReach": "pane-command",
      "title": "Run a shell command",
      "tmuxEffects": [
        "observe",
        "change"
      ],
      "toolset": "execute"
    }
  }
}
