# 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/8e006aa3ea738f609bcf19c54249414cecf48daf/libs/vertexai/langchain_google_vertexai/_anthropic_utils.py#L323)