fix: read_file描述明确支持docx解析,引导agent优先用read_file而非run_command探测
This commit is contained in:
parent
b9b6403de3
commit
fc0ce9ad7d
@ -228,7 +228,7 @@ GENERAL_TOOLS = [
|
||||
# ── 通用工具集(Hermes CLI 能力子集:文件/搜索/会话/规划)──
|
||||
ToolDefinition(
|
||||
name="read_file",
|
||||
description="读取工作空间中的文件",
|
||||
description="读取工作空间中的文件内容。支持 docx/txt/md/json 等文本格式,docx 会自动解析提取正文文本,直接调用即可读取 docx 内容",
|
||||
parameters={"path": "相对路径"},
|
||||
category="file",
|
||||
),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user