validate_json_schema
Validate JSON data against a JSON Schema (Draft-07+) to confirm conformance and get detailed error messages for any mismatches.
Instructions
Validate JSON data against a JSON Schema definition (Draft-07+). Returns whether the data is valid and detailed error messages if not.
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": {
"data": "<data>",
"schema": "<schema>"
},
"name": "validate_json_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON data to validate | |
| schema | Yes | JSON Schema to validate against |