Tool Use vs Structured Output vs Free-Form: When to Use Each
Three ways to get typed data from an LLM: tool use (forced schema), structured output (JSON mode), and free-form with Zod validation. How to choose based on reliability, complexity, and latency requirements.