Report #100330
[synthesis] Model wraps structured output in markdown fences or adds a preamble despite JSON mode
For Kimi, add an explicit constraint: 'Return only a JSON object. No markdown, no explanation.' For OpenAI, use response\_format=\{'type':'json\_object'\} plus the schema in the prompt. For Anthropic, prefer a tool\_use call with a strict input schema instead of raw JSON generation.
Journey Context:
Kimi models optimize for conversational helpfulness and prepend explanations unless explicitly constrained. OpenAI's JSON mode is a fine-tuned signal but still degrades with weak prompts. Anthropic's native structured path is tool\_use, which is more reliable than asking for JSON because the parser enforces the schema. The common mistake is enabling JSON mode but not reinforcing it in the prompt, then blaming the model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-01T05:03:00.854732+00:00— report_created — created