validate_schema
Validate data against a JSON Schema to identify violations, receiving detailed errors with JSON path, expected type, actual value, and the violated keyword.
Instructions
Validate data against a JSON Schema. Returns detailed error messages with JSON path, expected type, actual value, and the violated keyword (type, required, format, pattern, minimum, etc.).
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>",
"data": "<data>"
},
"name": "validate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The data to validate | |
| schema | Yes | The JSON Schema to validate against |