diff --git a/server/platform_tools.go b/server/platform_tools.go index d9c50c4..face7d8 100644 --- a/server/platform_tools.go +++ b/server/platform_tools.go @@ -8,8 +8,8 @@ import ( "path/filepath" "strings" - actool "github.com/Autumn-27/norma/tool" "github.com/Autumn-27/artex/db" + actool "github.com/Autumn-27/norma/tool" ) // 平台操作工具(给内置 Auto agent 用):建/改 skill、自定义工具、MCP。都是 host 工具, @@ -152,7 +152,7 @@ func toDBTool(a customToolToolInput) *db.Tool { } func (s *Server) toolCreateCustomTool() actool.CoreTool { - return wrTool("create_custom_tool", "创建一个自定义工具(shell/command/script/http)。shell=bash 环境声明,只需 key+description+agents,无需 exec/schema。", + return wrTool("create_custom_tool", "【重要】当安装一些平台没有的工具时,调用该工具将安装的工具放入平台中,让平台可以调用!创建一个自定义工具(shell/command/script/http)。shell=bash 环境声明,只需 key+description+agents,无需 exec/schema。", customToolSchema("工具 key(小写字母开头,字母/数字/下划线)"), func(_ context.Context, in json.RawMessage) (actool.Result, error) { var a customToolToolInput