{
  "name": "show_environment",
  "wireName": "show_environment",
  "source": {
    "repo": "libtmux/libtmux-dotnet",
    "revision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "extractedRevision": "cf34b255c896d19a97e7d7fabea58609c916012d",
    "file": "src/LibTmux.Mcp/Policy/CapabilityModel.cs",
    "line": 584
  },
  "description": "Read the tmux environment; accepts no client-supplied executable input. A listing answers names without values, and a named variable is still withheld when the name reads as a credential. Read what a NEW pane will inherit, at the server or session level — not what an already-running shell has.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "name": {
        "default": null,
        "description": "One variable name, which answers its value. Omit for every name with hasValue instead of values.",
        "type": [
          "string",
          "null"
        ]
      },
      "session": {
        "default": null,
        "description": "A session id or name. Omit for the server environment.",
        "type": [
          "string",
          "null"
        ]
      }
    },
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "result": {
        "items": {
          "properties": {
            "hasValue": {
              "type": "boolean"
            },
            "isRemoved": {
              "type": "boolean"
            },
            "name": {
              "type": "string"
            },
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "withheld": {
              "type": "boolean"
            }
          },
          "required": [
            "name",
            "value",
            "isRemoved",
            "hasValue",
            "withheld"
          ],
          "type": "object"
        },
        "type": "array"
      }
    },
    "required": [
      "result"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Show environment"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": false,
      "name": "show_environment",
      "nestedAuthority": [],
      "outputClasses": [
        "process-environment"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "observe"
      ],
      "toolset": "inspect"
    }
  }
}
