# convert_to_anthropic_tool

> **Function** in `langchain_google_vertexai`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-vertexai/_anthropic_utils/convert_to_anthropic_tool)

## Signature

```python
convert_to_anthropic_tool(
    tool: dict[str, Any] | type[BaseModel] | Callable | BaseTool,
) -> AnthropicTool
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/982e4015b249de8b9ba1e787746d8cc1f6d6b790/libs/vertexai/langchain_google_vertexai/_anthropic_utils.py#L308)