feat: 查询直属下级员工工具

This commit is contained in:
martsforever
2025-09-04 22:18:57 +08:00
parent b123fdb3ec
commit 1ada5aaffd
3 changed files with 30 additions and 10 deletions
@@ -0,0 +1,15 @@
from langchain_core.tools import tool
@tool(
name_or_callable="tool_query_direct_subordinates",
description="查询直接下级员工信息"
)
def tool_query_direct_subordinates() -> float:
return [
"已经查询完毕",
{
"component": "DirectSubordinates",
"props": {},
}
]