# AzureAiServicesImageAnalysisTool

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/tools/azure_ai_services/image_analysis/AzureAiServicesImageAnalysisTool)

Tool that queries the Azure AI Services Image Analysis API.

In order to set this up, follow instructions at:
https://learn.microsoft.com/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library-40

Attributes:
azure_ai_services_key (Optional[str]): The API key for Azure AI Services.
azure_ai_services_endpoint (Optional[str]): The endpoint URL for Azure AI Services.
visual_features Any: The visual features to analyze in the image, can be set as
    either strings or azure.ai.vision.imageanalysis.models.VisualFeatures.
    (e.g. 'TAGS', VisualFeatures.CAPTION).
image_analysis_client (Any): The client for interacting
    with Azure AI Services Image Analysis.
name (str): The name of the tool.
description (str): A description of the tool,
    including its purpose and expected input.

## Signature

```python
AzureAiServicesImageAnalysisTool()
```

## Extends

- `BaseTool`

## Properties

- `azure_ai_services_key`
- `azure_ai_services_endpoint`
- `visual_features`
- `image_analysis_client`
- `name`
- `description`

## Methods

- [`validate_environment()`](https://reference.langchain.com/python/langchain-community/tools/azure_ai_services/image_analysis/AzureAiServicesImageAnalysisTool/validate_environment)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/tools/azure_ai_services/image_analysis.py#L18)