JSON Doctor
json_doctorDeterministic CPU-only utility. Repairs a bounded set of common JSON syntax mistakes, returns canonical JSON, and optionally validates a documented JSON Schema subset. Missing fields are reported, never invented. Price: 0.003 USD via x402. Calling this MCP tool returns the canonical REST/x402 checkout contract; it does not execute the product or charge the caller yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | repair_and_validate | |
| text | Yes | JSON or JSON-like text to parse, conservatively repair, and return. | |
| job_id | No | ||
| schema | No | Optional structural JSON Schema. JSON Doctor validates the documented supported keyword subset and reports unsupported keywords explicitly. |