From b8218d9f77ba8d5aa14b29768bf87f6b42e514b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Sun, 8 Feb 2026 20:11:04 +0800 Subject: [PATCH] Add tool description mode to security config Add tool description mode configuration options. --- config.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.yaml b/config.yaml index eab6d48a..a31e1894 100644 --- a/config.yaml +++ b/config.yaml @@ -67,6 +67,10 @@ database: # 推荐方式:在 tools/ 目录下为每个工具创建独立的配置文件 security: tools_dir: tools # 工具配置文件目录(相对于配置文件所在目录) + # 工具描述模式:加载 tools 下工具时,暴露给 AI/API 使用的描述来源 + # short - 优先使用 short_description(简短描述,省 token),为空时用 description + # full - 使用 description(详细描述) + tool_description_mode: full # ============================================ # MCP 相关配置