{"machine":"json-repair","slot":"A3","title":"JSON repair + schema check","how_to_call":"POST https://innernetcorp.com/machines/json-repair with Content-Type: application/json","price_usd":"$0.002","currencies":["USDC","EURC"],"payment":"x402: send the POST without payment to receive a 402 with signed requirements; pay any option and retry.","input_example":{"input":"{name: 'Ada', tags: ['x',], }","schema":{"type":"object","required":["name"]}},"input_schema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"The (possibly broken) JSON text to repair."},"schema":{"type":"object","description":"Optional JSON Schema (draft-07/2020-12) to validate the repaired value against."}},"additionalProperties":false},"summary":"Fix broken JSON (trailing commas, single quotes, unquoted keys, truncation, markdown fences) and optionally validate the result against a JSON Schema you supply. Built for cleaning up LLM tool output before it hits your pipeline.","catalog":"/catalog"}