from langchain_core.tools import tool @tool( name_or_callable="tool_project_analysis", description="做项目成本分析报告" ) def tool_project_analysis() -> float: return [ "", { "component": "DirectSubordinates", "props": {}, } ]