← Back to directory

Validate LLM/agent JSON output against a JSON Schema (2020-12 subset) and auto-r...

https://forge-tools.dentreprise.workers.dev/api/json-schema-validate

Overview

Validate LLM/agent JSON output against a JSON Schema (2020-12 subset) and auto-repair typical errors: code fences, trailing commas, numbers/booleans as strings, wrong enum case, single value instead of array, null optionals, extra or mis-cased keys, missing defaults. Returns errors, repaired JSON and fixes. POST recommended.

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider forge-tools
Source bazaar
Indexed 2026-11-10 16:09:28

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "data": "{\"age\": \"42\"}", "schema": { "properties": { "age": { "type": "integer" } }, "required": [ "age" ], "type": "object" } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "errors": [ { "msg": "expected integer, got string", "path": "$.age" } ], "repaired": { "age": 42 }, "repaired_valid": true, "valid": false }, "type": "json" }