Back to timeline

Tue, October 2007:32Model/APIAPI & pricingAgentsInfra & costAPI & pricing guide

Amazon Bedrock supports structured outputs for all Claude models

Decision Brief

What changedAmazon Bedrock now offers structured outputs for all Anthropic Claude models on both the bedrock-runtime and bedrock-mantle endpoints, enforcing schema-compliant JSON via JSON Schema and strict tool use.
Why it mattersDevelopers calling Claude no longer need hand-written parsing and retry logic, and strict tool use guarantees agent tool parameters fully match the schema, notably improving the reliability of multi-step automated workflows.
Who should careTeams building on model APIs
Affected stackClaude
Source confidenceHigh · Official release / blog / repo

Amazon Bedrock now provides structured outputs for all Anthropic Claude models across the bedrock-runtime and bedrock-mantle endpoints. The feature uses constrained decoding to enforce JSON Schema during token generation, making output format deterministic rather than probabilistic. Developers pass a schema via output_config.format, or set strict: true on tool definitions to strictly validate tool parameters. JSON Schema support covers a subset of Draft 2020-12; compiled schemas are cached per account for 24 hours, so the first request with a new schema is slightly slower while later requests incur minimal overhead. Developers using the Claude API get valid, type-safe JSON directly, eliminating JSON.parse() exception handling and retries for schema violations. Structured outputs also constrain the model to generate only schema-defined fields, reducing output tokens and lowering inference cost for high-concurrency batch workloads. The feature supports batch inference, cross-region inference, and streaming structured responses. For teams building agents on Amazon Bedrock Mantle, strict tool use ensures tool parameters precisely match the input schema, preventing multi-step workflows from failing due to malformed parameters. Use cases like data extraction, ticket classification, and contract analysis can connect directly to databases or CRMs without extra validation code.

Summary basis: full article readCompiled from the source scope noted above; the original remains authoritative.

Sources

Related intel

留言

登入后即可留言,和其他 builder 交换实测心得。

还没有留言,抢头香。