JSON Schema Validate
json_schema_validateValidate a JSON instance against a JSON Schema (draft 2020-12, core and validation vocabularies). Send schema and instance as JSON text. Get back valid or invalid and every error with its JSON Pointer into the instance, the JSON Pointer of the failing keyword in your schema, the keyword and a plain message; a schema that is itself not valid 2020-12 (or has a bad pattern or a $ref outside it) gives verdict schema_error with the reason. Nothing is fetched: $ref works inside the schema only. Limits: schema 12,000 and instance 15,000 characters, 32 levels of nesting. Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/json-schema-validate). Not legal, tax or financial advice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schema": "<schema>",
"instance": "<instance>"
},
"name": "json_schema_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | The JSON Schema as JSON text (draft 2020-12; $schema may be left out or must be https://json-schema.org/draft/2020-12/schema). Up to 12,000 characters. | |
| instance | Yes | The JSON value to validate, as JSON text (any JSON: object, array, string, number, true, false, null). Up to 15,000 characters. No personal data: emails, SSN or phone shapes and card numbers are refused. |