ReasoningContent
Model reasoning content.
Inherited functions
Casts this HarnessContentBlock as a ReasoningContent and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessReasoningContentBlock value. Throws an exception if the HarnessContentBlock is not a ReasoningContent.
Casts this HarnessContentBlock as a ReasoningContent and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessReasoningContentBlock value. Returns null if the HarnessContentBlock is not a ReasoningContent.
Casts this HarnessContentBlock as a Text and retrieves its kotlin.String value. Throws an exception if the HarnessContentBlock is not a Text.
Casts this HarnessContentBlock as a Text and retrieves its kotlin.String value. Returns null if the HarnessContentBlock is not a Text.
Casts this HarnessContentBlock as a ToolResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolResultBlock value. Throws an exception if the HarnessContentBlock is not a ToolResult.
Casts this HarnessContentBlock as a ToolResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolResultBlock value. Returns null if the HarnessContentBlock is not a ToolResult.
Casts this HarnessContentBlock as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlock value. Throws an exception if the HarnessContentBlock is not a ToolUse.
Casts this HarnessContentBlock as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlock value. Returns null if the HarnessContentBlock is not a ToolUse.