CustomLabs
Agents

Structured Output

Structured output constrains a model's response to a defined schema instead of free-form prose.

It lets the calling code parse the result reliably, without brittle regex or string matching.

It is foundational to tool calling and agent loops, where a wrongly-shaped response breaks the next step.

Enforcing and validating the schema is what makes it dependable, more than simply asking nicely for JSON.

← Back to the full glossary

Source: https://customlabs.io/glossary/structured-output/

navigate select esc close