{
  "name": "show_hooks",
  "wireName": "show_hooks",
  "source": {
    "repo": "libtmux/libtmux-dotnet",
    "revision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "extractedRevision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "file": "src/LibTmux.Mcp/Policy/CapabilityModel.cs",
    "line": 585
  },
  "description": "Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Read the hooks tmux will run on its own events. Read-only on purpose: a hook written here would outlive this conversation and keep firing with nobody left who knows why. Put hooks you want to keep in your tmux config file.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "paneId": {
        "default": null,
        "description": "The pane whose scope is read. Omit for this server's own pane, or else the one the first session shows.",
        "type": [
          "string",
          "null"
        ]
      },
      "scope": {
        "default": "Session",
        "description": "Server, Session, Window, or Pane.",
        "enum": [
          "Server",
          "Session",
          "Window",
          "Pane"
        ],
        "type": "string"
      }
    },
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "result": {
        "items": {
          "properties": {
            "command": {
              "type": "string"
            },
            "index": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "scope": {
              "enum": [
                "Server",
                "Session",
                "Window",
                "Pane"
              ],
              "type": "string"
            }
          },
          "required": [
            "name",
            "index",
            "command",
            "scope"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "result"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Show hooks"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": true,
      "name": "show_hooks",
      "nestedAuthority": [],
      "outputClasses": [
        "configured-command"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
