ToolResult
Start of a tool result content block.
Inherited functions
Casts this HarnessContentBlockStart as a ToolResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolResultBlockStart value. Throws an exception if the HarnessContentBlockStart is not a ToolResult.
Casts this HarnessContentBlockStart as a ToolResult and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolResultBlockStart value. Returns null if the HarnessContentBlockStart is not a ToolResult.
Casts this HarnessContentBlockStart as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlockStart value. Throws an exception if the HarnessContentBlockStart is not a ToolUse.
Casts this HarnessContentBlockStart as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlockStart value. Returns null if the HarnessContentBlockStart is not a ToolUse.