validate_json
Validate a JSON string against a JSON Schema. Free. Returns validity and a list of violations.
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": {
"input": "<input>",
"schema": "<schema>"
},
"name": "validate_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The JSON text to validate | |
| schema | Yes | The JSON Schema to validate against |