{
  "name": "show_option",
  "wireName": "show_option",
  "source": {
    "repo": "libtmux/libtmux-rs",
    "revision": "2cef1aa642182dd1970c3688feb6a568ff666e64",
    "extractedRevision": "2cef1aa642182dd1970c3688feb6a568ff666e64",
    "file": "crates/tmux-mcp/src/tools/inspect.rs",
    "line": 457
  },
  "description": "Read a tmux option, such as history-limit or a user option like @theme. Name the scope the option lives in; global-session is what tmux uses when a command names no target. Read configured tmux commands; accepts no client-supplied executable input. Returned values may contain executable configuration.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "$defs": {
      "OptionScopeSchema": {
        "enum": [
          "server",
          "global-session",
          "global-window",
          "session",
          "window",
          "pane"
        ],
        "type": "string"
      }
    },
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "properties": {
      "name": {
        "description": "The option name, such as `history-limit` or a user option like `@theme`.",
        "type": "string"
      },
      "scope": {
        "anyOf": [
          {
            "$ref": "#/$defs/OptionScopeSchema"
          },
          {
            "type": "null"
          }
        ],
        "description": "Which tmux object the option belongs to.\n\nOne of `server`, `global-session`, `global-window`, `session`,\n`window`, or `pane`. Defaults to `global-session`, which is what\nsetting an option without a target means in tmux."
      },
      "target": {
        "description": "The `$`, `@` or `%`-prefixed id, for the scopes that need one. Omit\nfor the others.",
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  },
  "outputSchema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
      "name": {
        "description": "The option name.",
        "type": "string"
      },
      "value": {
        "description": "Its value, absent when it has never been set at that scope.",
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false,
    "readOnlyHint": true,
    "title": "Read tmux Option"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {
        "name": "double-hash-once"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata",
        "configured-command"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
