{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sealgate-ai/json-schema/sealgate-ai-validate-mcp-request-response-schema.json",
  "title": "ValidateMcpRequestResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sealgate-ai-admin-api-openapi.yml#/components/schemas/ValidateMcpRequestResponse",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status",
      "description": "Validation status: healthy or unhealthy"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error",
      "description": "Error message if unhealthy"
    },
    "tools": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Tools",
      "description": "Discovered tool names"
    },
    "resources": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Resources",
      "description": "Discovered resource names"
    },
    "prompts": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Prompts",
      "description": "Discovered prompt names"
    },
    "suggested_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Suggested Url",
      "description": "A sibling URL that responded to an MCP handshake when the requested URL did not (e.g. the origin root when a '/mcp' path 404s). Suggestion only."
    }
  },
  "type": "object",
  "required": [
    "status"
  ]
}