asSearchResult
Casts this ToolResultContentBlock as a SearchResult and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SearchResultBlock value. Throws an exception if the ToolResultContentBlock is not a SearchResult.
Casts this ToolResultContentBlock as a SearchResult and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.SearchResultBlock value. Throws an exception if the ToolResultContentBlock is not a SearchResult.