# AzureCogsTextAnalyticsHealthTool

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/azure_cognitive_services/text_analytics_health/AzureCogsTextAnalyticsHealthTool)

Tool that queries the Azure Cognitive Services Text Analytics for Health API.

In order to set this up, follow instructions at:
https://learn.microsoft.com/en-us/azure/ai-services/language-service/text-analytics-for-health/quickstart?tabs=windows&pivots=programming-language-python

## Signature

```python
AzureCogsTextAnalyticsHealthTool()
```

## Extends

- `BaseTool`

## Properties

- `azure_cogs_key`
- `azure_cogs_endpoint`
- `text_analytics_client`
- `name`
- `description`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/tools/azure_cognitive_services/text_analytics_health/AzureCogsTextAnalyticsHealthTool/validate_environment)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/tools/azure_cognitive_services/text_analytics_health.py#L14)