Skip to main content

Structured Output

Structured Output

  • Agents
  • Stage 3 · Going Deeper
  • refs checked 2026-11-19
What problem it solves

Make the model's answer a strict format (JSON and the like) rather than a paragraph of prose.

What it is
Constraining the model to output machine-parsable structure that a program can consume directly.
Why it matters

A precondition for tool calling. Without it a model cannot reliably tell a program what to call or which arguments to pass.

Sources
  • OpenAI Structured Outputs Guide ↗
  • Pydantic AI: Output ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →