langchain_aws.function_calling.convert_to_anthropic_tool

langchain_aws.function_calling.convert_to_anthropic_tool(tool: Union[Dict[str, Any], Type[BaseModel], Callable, BaseTool]) AnthropicTool[源代码]
参数

tool (联合[字典[字符串, Any], 类型[BaseModel], Callable, BaseTool]) –

返回类型

AnthropicTool