{"uid":"cap_S08PFA1DepCkPcnkipckm","slug":"modell-halowerk-com-output-validator-4863f9da","name":"modell.halowerk.com Output Validator","description":"Validates output against a JSON Schema and reports each violation with its JSON path, the rule it broke and a sentence saying what to change. Accepts either a parsed object or the raw string a model returned: a payload wrapped in a code fence or surrounded by prose is unwrapped, and the wrapping is reported separately from schema errors so you fix the right layer. Draft 2020-12 and draft-07 are both supported, along with the common string formats.","url":"https://modell.halowerk.com/v1/output-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"output":{"description":"The model answer, as a parsed JSON value. Either this or output_text."},"schema":{"type":"object","description":"JSON Schema to validate against."},"all_errors":{"type":"boolean","default":true,"description":"Report every violation instead of stopping at the first."},"output_text":{"type":"string","maxLength":400000,"description":"The raw answer as text. Code fences and surrounding prose are stripped."},"suggest_repairs":{"type":"boolean","default":true,"description":"List repairable problems (defaultable missing fields, extra fields)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eyG8UM9aajkuga8-nWyij","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates LLM output against a JSON Schema (Draft 2020-12 or draft-07), reporting each violation with its JSON path, the broken rule, and a fix suggestion, while also unwrapping code-fenced or prose-wrapped model responses before validation.","exampleAgentPrompt":"Validate this raw model response against my JSON Schema — the response might be wrapped in a code fence — and tell me every violation with the JSON path, which rule it broke, and what I should change to fix it.","exampleUseCases":[{"title":"Catching schema errors in agent tool calls","prompt":"My agent just returned this JSON blob but it might be wrapped in markdown. Validate it against this schema and list every field that fails, what rule each one breaks, and how to fix it."},{"title":"Debugging draft 2020-12 compliance for a pipeline","prompt":"I'm getting malformed responses from my LLM pipeline — can you validate this raw string against my draft 2020-12 schema and tell me the JSON path and violation reason for every error?"},{"title":"Separating wrapping issues from schema errors","prompt":"The model returned its answer inside a code fence surrounded by some prose — unwrap it, then validate against my draft-07 schema, and report the wrapping separately from any actual schema violations."}],"resultDescription":"A structured report listing each schema violation with its JSON path, the specific schema rule that was broken, and a plain-language sentence describing what to change. If the model output was wrapped in a code fence or prose, the unwrapping is reported separately from the schema errors so the caller can address formatting and schema problems independently.","failureModes":["Invalid or malformed JSON Schema provided — returns schema parse error","Model output cannot be unwrapped to valid JSON — returns parse failure before schema validation","Unsupported JSON Schema draft version — only Draft 2020-12 and draft-07 are supported","Empty or missing payload — returns validation error on the request itself","Network timeout for very large payloads"],"whenToPreferThis":"Choose this endpoint when you need to validate raw or code-fenced LLM output against a JSON Schema and want per-violation detail (JSON path + rule + fix hint) rather than a simple pass/fail. Especially useful when model responses may be wrapped in markdown or prose that needs stripping before validation. Supports both Draft 2020-12 and draft-07, making it suitable for modern and legacy schema use cases. Prefer this over generic JSON validators when working in an agentic pipeline where the model output format is unpredictable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:33:55.388Z","isFirstParty":false,"canonicalSlug":"modell-halowerk-com-output-validator-4863f9da"}