jsonaut
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
- 0.1.0
- Version
- remote
- Transport
- 4
- Tools
Security review
Review passedReviewed 1h ago.
- tools: 4 tools scanned
- metadata: scanned
No findings.
Tools (4)
repair_json
Repair malformed JSON (trailing commas, single quotes, truncation, markdown fences, comments, python literals) and optionally validate/coerce it against a JSON Schema. Deterministic repair is free. If it fails and allow_llm_fallback is true, a paid LLM repair is attempted (requires x402 payment; charged only on success).
validate_json
Validate a JSON string against a JSON Schema. Free. Returns validity and a list of violations.
extract_json
Extract JSON embedded in arbitrary text — LLM prose, chat messages, logs, emails — then repair and validate it. Deterministic extraction is free. If no JSON can be located and allow_llm_fallback is true, a paid LLM extracts structured data from the text (requires x402 payment; charged only on success). Pass a JSON Schema to shape the output.
infer_schema
Infer a JSON Schema (draft 2020-12) from an example JSON value. Free and deterministic. Set as_samples=true when the input is an array of example objects of the same shape to merge them into one schema. Turns sample agent/tool output into a reusable schema.