How to configure
- Open the agent in Agent Builder.
- In the Instructions section, use the model picker to choose a specific model that supports structured output.
- Click JSON response.
- Paste a valid JSON schema, then save.
Schema format
The schema must follow this structure:JSON format
Example
A schema to extract city information:structured output format example
Supported models
Not all models support structured output. The JSON response button is only enabled when the agent uses a specific model that supports it. All specific models currently offered in the model picker support structured output, except:- Mistral Small
- Mistral Codestral