JSON Schema Validator
json_validateValidates data against a JSON Schema (draft 2020-12/07 core: types, required, properties, items, enums, ranges, patterns, formats, combinators, local $ref), or checks raw JSON syntax when only json is given. Returns valid true/false and a list of errors with their paths. Use it to check API payloads or model output against a schema. Limits: remote $ref is not fetched; only core vocabulary is supported.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "json_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | value to validate | |
| json | No | raw JSON text (syntax check, or data as text) | |
| schema | No | JSON Schema (object or JSON string) |