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