Skip to main content

How to configure

  • Open the agent builder
  • Click Advanced > Structured Response Format
  • Paste a valid JSON schema
  • Click 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 option only appears in the Advanced menu when the selected model supports it. Model supporting it:
  • Chat GPT 5 and following versions
  • Sonnet and Haiku starting with version 4.5
  • Gemini 3.0 and following versions