) -> str:
        """Use the tool."""
        try:
            text_analysis_result = self._text_analysis(query)
            return self._format_text_analysis_result(text_analysis_result)
        except Exception as e:
            raise RuntimeError(
                f"Error while running AzureCogsTextAnalyticsHealthTool: {e}"
            )