← Back to all entries
2025-12-17 ✅ Best Practices

December API Updates: Structured Outputs Now on Haiku 4.5 & Tool Use Best Practices

December API Updates: Structured Outputs Now on Haiku 4.5 & Tool Use Best Practices — visual for 2025-12-17

Structured Outputs Expand to Claude Haiku 4.5 — What Changed in the December API Update

Anthropic's December API release notes confirm that structured outputs — the feature that forces Claude to produce responses conforming exactly to a developer-supplied JSON schema — is now available on claude-haiku-4-5, expanding beyond the Sonnet-and-above tier where it was previously accessible. This matters for cost-sensitive applications that need guaranteed output shapes. Previously, developers who needed exact schema compliance in high-volume pipelines were pushed towards more expensive models. Haiku 4.5 brings structured outputs within reach for classification, tagging, extraction, and other high-frequency, lower-complexity tasks where schema adherence is the primary requirement and a model's reasoning depth is secondary.

How structured outputs differ from asking Claude to return JSON

Schema design tip

Write descriptions for every field in your JSON schema — not just for human readers, but because Claude uses field descriptions to decide what value to place in each field. A field named status with no description will receive a worse-quality value than one described as "the current lifecycle status of the order: one of 'pending', 'processing', 'shipped', or 'cancelled'."

structured outputs Haiku 4.5 JSON schema API update retrospective

Tool Use in Production — Patterns That Reduce Errors and Improve Reliability

With structured outputs now available across more model tiers and MCP gaining widespread adoption, tool use has become the standard interface pattern for connecting Claude to external systems. But production deployments consistently surface the same classes of problems: Claude calling tools at the wrong time, passing malformed parameters, or getting stuck in tool-call loops. Most of these issues trace back to correctable prompt and schema design mistakes rather than model limitations. Here are the patterns that produce the most reliable tool-use behaviour in production.

Reliability patterns for tool use

tool use production patterns reliability API design retrospective