Skip to content

Structured Outputs

{"risk":"missing rollback path","severity":"high","evidence":"deployment notes mention no revert command"}

The point of structured output is validation, not tidy appearance. Missing fields, wrong types, and invalid enum values should be rejectable or retryable.

If a person reads the response, prose may be enough. If another program consumes it, define the schema first and validate the result.

{"risk":"missing rollback path","severity":"high","evidence":"deployment notes mention no revert command"}
FailureHandling
Missing fieldReject, retry, or send to review.
Wrong typeValidate before using.
Ambiguous valueUse enumerations or stricter schema.