View a markdown version of this page

HarnessContentBlock - Amazon Bedrock AgentCore Data Plane

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 AWS SDKs, see the following: