JSON Schema validation
validate_jsonValidates a JSON document against a JSON Schema (core 2020-12 keywords incl. $ref/$defs, anyOf/oneOf/allOf, formats) and returns every error with instance path, schema path and a plain-language message. Use it as an independent gate on structured LLM output before acting on it. Free tier: Document and schema up to 1 MB combined (paid) or 100 KB (free tier).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| schema | Yes |