WSO2 · Schema

MCP Server validation Response

MCPServerValidationResponse schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
isValid boolean This attribute declares whether this definition is valid or not.
errorMessage string This attribute declares the validation error message
content string MCP Server schema definition content.
toolInfo object
View JSON Schema on GitHub

JSON Schema

publisher-api-mcp-server-validation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/publisher-api-mcp-server-validation-response-schema.json",
  "title": "MCP Server validation Response",
  "description": "MCPServerValidationResponse schema from WSO2 API Manager",
  "required": [
    "errorMessage",
    "isValid"
  ],
  "type": "object",
  "properties": {
    "isValid": {
      "type": "boolean",
      "description": "This attribute declares whether this definition is valid or not.\n",
      "example": true
    },
    "errorMessage": {
      "type": "string",
      "description": "This attribute declares the validation error message\n"
    },
    "content": {
      "type": "string",
      "description": "MCP Server schema definition content.\n"
    },
    "toolInfo": {
      "type": "object",
      "properties": {
        "operations": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/MCPServerOperation"
          }
        }
      }
    }
  }
}