Flags

--output-schema

Points Codex to a JSON Schema file; Codex validates its final response against that schema before finishing, ensuring the output has the exact shape your code expects.

Return to all terms