data.schema-validate
Validate JSON data against a bounded JSON Schema Draft 2020-12 contract for nested objects, arrays, required properties, types, enums, formats, lengths, patterns, and numeric bounds; return deterministic instance and schema JSON Pointers, explicit error truncation, input hashes, and no remote reference resolution.
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": "data.schema-validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | JSON Schema Draft 2020-12 document; only local fragment references are allowed | |
| instance | Yes | JSON-compatible value to validate | |
| max_errors | No | ||
| check_formats | No | Assert supported JSON Schema formats as well as structural keywords |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured JSON Schema validation result | |
| meta | Yes | ||
| service | Yes | ||
| version | Yes | ||
| request_id | Yes | Unique request identifier |