convert_to_anthropic_tool#
- langchain_anthropic.chat_models.convert_to_anthropic_tool(
- tool: dict[str, Any] | type | Callable | BaseTool,
Convert a tool-like object to an Anthropic tool definition.
- Parameters:
tool (dict[str, Any] | type | Callable | BaseTool)
- Return type: