asToolUseOrNull
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.
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.