Back to News
ProductAI Understanding briefing

Amazon Bedrock adds structured outputs for Claude models

Amazon Bedrock now generally supports schema-compliant JSON and strict tool inputs for Anthropic Claude models on two endpoints.

4 min readRead the primary source
Source-page capture accompanying Amazon Bedrock adds structured outputs for Claude models
Primary-source documentSource recorded
Publisher
aws.amazon.com
Source type
Primary document — an official announcement, paper, filing, or first-party page we read directly.
ContextUnderstand this in 60 seconds

Key terms

API (Application Programming Interface)
A structured way for one software system to send requests to and receive responses from another system.
Structured Output
Model output constrained to a defined schema such as JSON, tool arguments, or typed fields.
Classification
A task where a model assigns an input to one or more predefined categories.

What happened

Amazon says structured outputs are now generally available for all Anthropic Claude models on Amazon Bedrock, where each model is available. The feature supports schema-compliant JSON through the bedrock-runtime and bedrock-mantle endpoints, including batch inference, streaming, and cross-Region inference on bedrock-runtime.

Amazon says the capability is available now on both the bedrock-runtime and bedrock-mantle endpoints, subject to model availability. It supports calls through Boto3 and the bedrock-runtime APIs, as well as the Messages API through bedrock-mantle.

Structured outputs use constrained decoding to enforce a JSON schema while the model generates its response. The source describes the resulting output as valid JSON with required fields and enforced field types. It also says outputs are limited to fields defined by the schema.

The first request using a new schema may take longer while Bedrock compiles a grammar artifact. Amazon says the compiled grammar is cached per account for 24 hours from first access; changing the schema structure invalidates the cache, while changing only name or description fields does not.

The feature supports batch inference and streamed structured responses. On bedrock-mantle, setting strict tool use to true constrains tool inputs to the specified schema for agentic workflows using server-side tools such as web search and code interpreter.

Source details: aws.amazon.com ↗

Why it matters

Reliable can reduce integration failures for applications that need model responses to fit predefined data models. That is particularly relevant for document extraction, clinical record processing, support routing, and tool-using AI agents.

This is a concrete infrastructure change for teams integrating Claude into software that depends on predictable machine-readable responses. Fewer schema failures could reduce operational handling around extraction, , routing, and other repetitive tasks.

The practical benefit is strongest where malformed output creates downstream errors or requires a retry. Strict tool parameters may also make multi-step agent workflows easier to connect to existing APIs, although schema compliance does not by itself establish that an agent’s decisions or extracted content are correct.

Amazon’s claim that the capability is production ready is a vendor claim. The source does not provide independent benchmarks, failure rates, comparative latency measurements, or evidence that every schema constraint is enforced.

Interactive Mechanism

Interactive Mechanism: How It Actually Works

Explore the underlying technology behind this development interactively.

Agent Lifecycle Stage:
1
User Intent & Planning: "Audit customer refund request #4092 and settle payment."
2
Tool Calling: Emits structured JSON call crm_get_transaction(id='4092').
3
Guardrail & Verification:🛡️ Paused: High-value action requires human operator sign-off.
4
Final Settlement: Refund recorded, email receipt dispatched, and audit log stored.
Core takeaway: An AI agent is not just a language model—it is a closed loop of planning, tool invocation, and environment feedback. Production systems require self-healing retries and strict human approval guardrails.
Interactive Concept Check+10 Points
AI Models Explained Quiz

Which component of an AI application is the machine-learning model itself?

What to watch next

Users should verify model and endpoint availability, supported schema behavior, latency, and pricing in their own Bedrock environments before deployment. The source explicitly says some accepted JSON Schema keywords are not enforced during generation.

The source does not document subscription requirements, regional availability, model-by-model eligibility, or pricing. It also does not quantify the effect of grammar compilation on first-request latency or the cost savings from reduced output tokens.

Applications must still validate constraints that the API accepts but does not enforce during generation. The source does not identify those keywords, so implementers should consult the Bedrock documentation and test their schemas.

Teams using repeated schemas should account for the stated 24-hour, account-scoped cache and possible recompilation after structural schema changes.

Related guides & quizzes

Found this useful?