Response Formats

Force the agent to reply in structured JSON using a visual schema builder.

Location: Settings → Formats

Response Formats let you force the agent to reply in structured JSON. Define a schema, apply it to a session, and the model's output conforms to your structure. Useful for data extraction, structured APIs, and programmatic consumption.

Create a format

Click New Format. Give it a name and optional description.

Visual builder

The default editor is a visual field builder. Add fields, each with:

FieldWhat it does
NameThe JSON key (auto-sanitized to snake_case)
TypeText, Number, Yes/No, List, or Object
DescriptionOptional. Tells the model what to put here.
RequiredWhether the field must be present in the output

Object fields can have nested properties. List fields define the type of each item. Nest as deep as you need.

Raw JSON mode

Click Raw JSON to edit the underlying JSON Schema directly. Switch back to Visual to see it rendered as fields. Both modes stay in sync.

Use a format

Once saved, the format appears in the response format selector in the chat input. Select it before sending a message, and the model's reply will conform to your schema.

What's next