# CodeInterpreterTool

> **Class** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/agents/_v2/prebuilt/tools/CodeInterpreterTool)

A wrapper around the Foundry CodeInterpreterTool.

This class exists to provide a consistent import path for users who want
to use the CodeInterpreterTool with AgentServiceBaseToolV2, without needing
to import from azure.ai.projects.models directly.

## Signature

```python
CodeInterpreterTool(
    self,
)
```

## Extends

- `AgentServiceBaseTool`

## Constructors

```python
__init__(
    self,
) -> None
```


---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/7a6a664d617264df8dcb12fcfb1bacc09f21d504/libs/azure-ai/langchain_azure_ai/agents/_v2/prebuilt/tools.py#L110)