Options for structured output generation.
API
mode
StructuredOutputModeThe structured output mode to use.
strictsends the schema to providers that support schema-constrained output. -jsonasks the provider for JSON without schema-constrained decoding. -tooluses the reserved output tool for emulated structured output.