Skip to main content

One doc tagged with "structured-output"

View All Tags

Structured Output With Tool Use

Summary: Asking an LLM to "return JSON" in the prompt is just a formatting hint the model can ignore; tool use forces the model through a real schema, and a validation library still checks the values afterward.