convert_to_anthropic_tool#

langchain_aws.function_calling.convert_to_anthropic_tool(tool: Dict[str, Any] | type[BaseModel] | Callable | BaseTool) AnthropicTool[source]#
Parameters:

tool (Dict[str, Any] | type[BaseModel] | Callable | BaseTool)

Return type:

AnthropicTool