Deterministic A2A Broken-JSON Repair & Schema Validator is a paid API for AI agents from mcp-security.agentdiet.dev, paid per call via MPP, $0.002/call, status unknown (last checked 2026-11-21).
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes) into valid JSON to prevent multi-agent pipeline crashes.
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes) so multi-agent pipelines never crash. (Live x402 v2, IETF MPP & MCP endpoint at https://mcp-security.agentdiet.dev/v1/json-repair)
A JSON object containing the repaired, fully valid JSON output derived from the malformed input string. The response corrects issues such as trailing commas, markdown code fences, single-quoted keys/values, and truncation so downstream agents and parsers can consume it without errors.
POSThttps://mcp-security.agentdiet.dev/v1/json-repair?utm_source=zero.xyzChoose this endpoint when your multi-agent pipeline receives LLM-generated or third-party JSON that may be malformed, truncated, or wrapped in markdown, and you need a deterministic (not AI-guessing) fix before passing it downstream. Prefer this over writing custom regex or using an LLM to re-parse, since deterministic repair is faster, cheaper, and consistent across retries. Especially useful in automated pipelines where crashes from bad JSON are unacceptable.
| Field | Type | Description |
|---|---|---|
| raw_jsonrequired | string | Malformed, truncated, or markdown-wrapped JSON string to deterministically repair |
{
"type": "object"
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"