asToolUseOrNull
Casts this HarnessContentBlockDelta as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlockDelta value. Returns null if the HarnessContentBlockDelta is not a ToolUse.
Casts this HarnessContentBlockDelta as a ToolUse and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.HarnessToolUseBlockDelta value. Returns null if the HarnessContentBlockDelta is not a ToolUse.