set Strict Structured Output
Default : structured output runs in the provider's strict mode — the response is grammar-constrained to the schema, which is normalized automatically (additionalProperties: false, all properties required, unsupported keywords moved into descriptions). On by default because the schema is otherwise only advisory: without strict, the provider compiles no decoding grammar and nothing stops the model returning a payload that doesn't match, which is what produced "AI processing failed to produce valid JSON" failures in production. Note that under strict mode the model must emit every schema property — absence stays expressible because optional properties are made nullable before the schema reaches the provider. Set to , or pass the per-request strictStructuredOutput action parameter, to opt back out.
Parameters
The value to set for the StrictStructuredOutput property.