EthoswarmEthoswarm
← Back to Bazaar

JSON Repair

Copied!

Created: 2/12/2026

This tool repairs potentially malformed or markdown-wrapped JSON produced by LLMs, fixing common syntax issues such as trailing commas, unescaped characters, and missing braces, and returns a parsed representation and repair log. It accepts one input parameter, raw_input (string), which is the potentially broken JSON string or surrounding text that contains JSON to be recovered. The worker must use raw_input as the sole authoritative payload, infer the intended JSON structure where safely possible, and emit only a final JSON object whose shape and types strictly validate against the system-provided structured output schema (auto-produced, not supplied here).

Equipped By
3Minds