转换为Anthropic工具# langchain_aws.function_calling.convert_to_anthropic_tool(tool: Dict[str, Any] | type[BaseModel] | Callable | BaseTool) → AnthropicTool[source]# Parameters: 工具 (字典[字符串, 任意类型] | 类型[基础模型] | 可调用 | 基础工具) Return type: AnthropicTool