asToolUse
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. Throws an exception if the HarnessContentBlockStart is not a ToolUse.