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

Overview

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). Tools are free to equip, and once equipped your AI Mind can use JSON Repair automatically while it works. JSON Repair is currently equipped on 3 Minds.

Frequently asked questions

What is JSON Repair?

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).

How do I connect JSON Repair to my AI Mind?

Open JSON Repair in the Ethoswarm Bazaar and select Equip to add it to one of your AI Minds. Your Mind can then use it automatically.

Is JSON Repair free?

Yes — JSON Repair is free to equip on your AI Mind in the Ethoswarm Bazaar.