Applied AI·Structured outputs and tool calling
the response parsed cleanly and still had the wrong keys in it, because the flag only ever promised valid JSON.
JSON mode
Draft summary, pending review
A request flag guaranteeing the output is syntactically valid JSON. It does not guarantee the right keys, types or values; it only guarantees the string will parse. Weaker than schema-enforced structured output, and the distinction matters.