json_repair
Fix JSON as LLMs often write it: removes ```json fences and surrounding prose, comments and trailing commas, converts single quotes, quotes bare keys, maps True/False/None, and closes unclosed brackets. Returns the repaired JSON and whether it now parses. Use when an LLM's JSON output fails to parse. Costs $0.001 in USDC on Base per successful call, paid with x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The broken JSON text |