Structured Output Request
data class StructuredOutputRequest constructor(val name: String, val schema: String, val description: String? = null, val strict: Boolean = true)
Provider-neutral request for native structured output.
The schema is raw JSON Schema. It is intentionally separate from prompt format instructions so provider adapters can translate it into their own payload shape.
Parameters
strict
whether providers that support strict schema enforcement should request it. Providers without such a setting may ignore this.