JSON Schema validator: check JSON (or LLM output) against a schema ($0.002/call)
json_validate$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] JSON Schema validator. Validates a JSON document against a JSON Schema (draft-07, 2019-09 or 2020-12, formats included) and returns valid true/false with every error as a JSON Pointer, keyword and message. Input: json and schema (POST for large documents). Limits: 1 MB JSON, 200 KB schema, 100 errors listed; remote $ref is not fetched. Offline.
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": {
"json": "<json>",
"schema": "<schema>"
},
"name": "json_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | Yes | JSON text to validate, up to 1 MB, e.g. {"name":"Ada","age":36} (a JSON value is also accepted in a POST body or MCP arguments) | |
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. | |
| schema | Yes | JSON Schema (draft-07, 2019-09 or 2020-12) as JSON text or object, up to 200 KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| cache | No | ||
| draft | No | ||
| valid | No | ||
| _trial | No | Present when the call was a free trial call. | |
| errors | No | ||
| provider | No | ||
| price_usd | No | ||
| error_count | No |