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