Johto Data JSON Repair
json_repairPOST broken or LLM-truncated JSON (max 16 KB). Returns valid JSON plus an ordered list of fixes: code fences, comments, single quotes, bare keys, trailing or missing commas, Python literals and unclosed strings, arrays or objects. Valid input is returned unchanged. Costs $0.005 USDC per call via x402. Without payment, the call returns the x402 payment requirements; retry with an X-PAYMENT or PAYMENT-SIGNATURE header, or params._meta["x402/payment"].
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": {
"text": "<text>"
},
"name": "json_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Broken JSON text, max 16 KB |