Skip to main content

agent_response_output_schema

Function agent_response_output_schema 

Source
pub fn agent_response_output_schema() -> Value
Expand description

Returns the JSON Schema used for structured assistant output.

The returned value is passed directly to providers that support enforced output schemas. It starts from the self-descriptive response schema and then applies compatibility normalization required by schema-enforcing agents.