Cross-LLM tool & structured output schema linter

Paste JSON Schema, MCP tool JSON, Zod, or Pydantic v2. Inspect provider constraints and auto-transpile for OpenAI, Claude, Gemini, and MCP entirely in your browser.

Presets
Detected: JSON
{
  "type": "json_schema",
  "json_schema": {
    "name": "create_support_ticket",
    "description": "File a customer support ticket with optional billing context.",
    "strict": true,
    "schema": {
      "title": "CreateSupportTicket",
      "description": "File a customer support ticket with optional billing context.",
      "type": "object",
      "$defs": {
        "CustomerContact": {
          "type": "object",
          "properties": {
            "email": {
              "type": "string",
              "format": "email"
            },
            "locale": {
              "type": [
                "string",
                "null"
              ],
              "description": "(minLength: 2) (maxLength: 5)"
            }
          },
          "required": [
            "email",
            "locale"
          ],
          "additionalProperties": false
        }
      },
      "properties": {
        "subject": {
          "type": "string",
          "description": "(minLength: 5) (maxLength: 120)"
        },
        "priority": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "low",
            "normal",
            "urgent",
            ""
          ]
        },
        "contact": {
          "$ref": "#/$defs/CustomerContact"
        },
        "tags": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "description": "(uniqueItems: true)"
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "default": null
        }
      },
      "required": [
        "subject",
        "priority",
        "contact",
        "tags",
        "notes"
      ],
      "additionalProperties": false
    }
  }
}

Provider compatibility matrix

Each LLM API enforces a different subset of JSON Schema Draft 2020-12. SchemaGate surfaces breaking rules before runtime HTTP 400 errors hit production.

Rule OpenAI Strict Claude Strict Gemini responseSchema MCP Safe
Root type: "object" Required (no root anyOf) Required Recommended Required with properties:
additionalProperties: false Required on every object Required on every object Rejected (strip keyword) Recommended on objects
Optional properties Must be in required + nullable Allowed Allowed Allowed
$defs / $ref Supported (no sibling keys) Supported Rejected in legacy (inline acyclic; cycles blocked) Supported
Nullable syntax type: ["string", "null"] or anyOf type array or anyOf nullable: true (no type arrays) anyOf (avoids Gemini/Azure bridge failures)
String / numeric constraints Strips minLength, maxLength, uniqueItems Relocates bounds to description Strips unsupported format & empty "" enum Preserved as 2020-12