{
  "name": "show_hooks",
  "wireName": "show_hooks",
  "source": {
    "repo": "libtmux/libtmux-swift",
    "revision": "63551afeae8ea3d272e5262208b87735888daf5f",
    "extractedRevision": "63551afeae8ea3d272e5262208b87735888daf5f",
    "file": "Sources/LibTmuxMCP/ToolOperation.swift",
    "line": 17
  },
  "description": "Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Read configured hooks, optionally for one session.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "session": {
        "description": "Caller-controlled session.",
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "hooks": {
        "items": {
          "additionalProperties": false,
          "properties": {
            "command": {
              "type": "string"
            },
            "index": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "command",
            "index",
            "name"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "hooks"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Show hooks"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration. Read configured hooks, optionally for one session.",
      "inputLiteralization": {},
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "session": {
            "description": "Caller-controlled session.",
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "show_hooks",
      "nestedAuthority": [],
      "outputClasses": [
        "configured-command"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "hooks": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "command": {
                  "type": "string"
                },
                "index": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "command",
                "index",
                "name"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "hooks"
        ],
        "type": "object"
      },
      "processReach": "none",
      "title": "Show hooks",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
