View a markdown version of this page

HarnessContentBlock - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

HarnessContentBlock

A content block within a message.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

reasoningContent

Model reasoning content.

Type: HarnessReasoningContentBlock object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

text

Text content.

Type: String

Length Constraints: Minimum length of 1.

Required: No

toolResult

A tool execution result.

Type: HarnessToolResultBlock object

Required: No

toolUse

A tool use request from the model.

Type: HarnessToolUseBlock object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: