asToolUse
Casts this HarnessContentBlockDelta as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlockDelta value. Throws an exception if the HarnessContentBlockDelta is not a ToolUse.
Casts this HarnessContentBlockDelta as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlockDelta value. Throws an exception if the HarnessContentBlockDelta is not a ToolUse.