Home icon

Structured data response with Amazon Bedrock: Prompt Engineering and Tool Use

Machine Learning Blog



This article explores techniques for generating structured data responses using Amazon Bedrock, focusing on two primary approaches for working with Large Language Models (LLMs):

  • Prompt Engineering: Crafting precise prompts to guide models in producing structured outputs
  • Tool Use with Bedrock Converse API: An advanced method offering better control and native JSON schema integration

Key findings from testing Claude models revealed:

  • Over 93% success rate across both approaches
  • Tool Use consistently outperformed prompt engineering
  • Simpler schemas typically result in fewer output issues

The article emphasizes that structured data generation is crucial for real-world AI applications, recommending developers explore Amazon Bedrock's capabilities for reliable, structured responses.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jun 17
2025
Build conversational interfaces for structured data using Amazon Bedrock Knowledge Bases
Feb 6
2026
Structured outputs on Amazon Bedrock: Schema-compliant AI responses
Nov 7
2025
Introducing structured output for Custom Model Import in Amazon Bedrock
Feb 4
2026
Structured outputs now available in Amazon Bedrock

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.