validate_schema
Validate a JSON instance against a Draft 2020-12 JSON Schema, returning validity and error details.
Instructions
Validate a JSON instance against a JSON Schema (Draft 2020-12). Returns validity and a list of errors.
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": {
"instance": "<instance>",
"schema": "<schema>"
},
"name": "validate_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | ||
| instance | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||