{
  "name": "teardown_session",
  "wireName": "teardown_session",
  "source": {
    "repo": "libtmux/libtmux-julia",
    "revision": "f3da513be1225d36d5854cd8db5972c01857578e",
    "extractedRevision": "f3da513be1225d36d5854cd8db5972c01857578e",
    "file": "packages/LibTmuxMCP/src/tools.jl",
    "line": 10
  },
  "description": "Destroy an exact generation-bound session created by this application. Borrowed sessions are refused.",
  "schemaStatus": "runtime",
  "enabledByDefault": false,
  "enableOption": "--tool",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "generation": {
        "description": "Valid UTF-8; at most 128 bytes",
        "maxLength": 128,
        "type": "string"
      },
      "sessionId": {
        "description": "Valid UTF-8; at most 64 bytes",
        "maxLength": 64,
        "type": "string"
      }
    },
    "required": [
      "sessionId",
      "generation"
    ],
    "type": "object"
  },
  "outputSchema": {
    "anyOf": [
      {
        "additionalProperties": false,
        "properties": {
          "completed": {
            "type": "boolean"
          },
          "generation": {
            "type": "string"
          },
          "sessionId": {
            "type": "string"
          }
        },
        "required": [
          "completed",
          "sessionId",
          "generation"
        ],
        "type": "object"
      },
      {
        "properties": {
          "error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "type": "string"
              },
              "effects": {
                "enum": [
                  "none",
                  "possible"
                ]
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              }
            },
            "required": [
              "code",
              "message",
              "effects",
              "retryable"
            ],
            "type": "object"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      }
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false
  }
}
