Add files via upload

This commit is contained in:
公明
2026-04-19 03:34:34 +08:00
committed by GitHub
parent 7af1ad5322
commit 1fb39074a1
13 changed files with 8 additions and 37 deletions
-2
View File
@@ -17,6 +17,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -30,6 +30,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
+8 -13
View File
@@ -14,12 +14,10 @@ user_prompt: 用户提示词(追加到用户消息前,用于引导AI行为
icon: "图标(可选)"
tools:
# 添加你需要的工具...
# ⚠️ 重要:建议包含以下5个内置MCP工具
# ⚠️ 重要:建议包含以下核心内置 MCP 工具(漏洞与知识库)
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
```
@@ -33,22 +31,19 @@ icon: "图标(可选)"
enabled: true
```
## ⚠️ 重要提醒:内置MCP工具
## ⚠️ 重要提醒:核心内置 MCP 工具
**如果设置了 `tools` 字段,请务必在列表中添加以下5个内置MCP工具**
**如果设置了 `tools` 字段,请务必在列表中包含以下工具(至少这三项)**
1. **`record_vulnerability`** - 漏洞管理工具,用于记录发现的漏洞
2. **`list_knowledge_risk_types`** - 知识库工具,列出可用的风险类型
3. **`search_knowledge_base`** - 知识库工具,搜索知识库内容
4. **`list_skills`** - Skills工具,列出可用的技能
5. **`read_skill`** - Skills工具,读取技能详情
这些内置工具是系统核心功能,建议所有角色都包含它们,以确保:
- 能够记录和管理发现的漏洞
- 能够访问知识库获取安全测试知识
- 能够查看和使用可用的安全测试技能
按需还可加入 WebShell、批量任务等其它内置或外部工具(以 MCP 管理中已启用的为准)。
**注意**:如果不设置 `tools` 字段,系统会默认使用所有MCP管理中已开启的工具(包括这5个内置工具),但为了明确控制角色可用的工具范围,建议显式设置 `tools` 字段
**Skills(技能包)**:不由 MCP 工具列表提供。角色 `skills` 字段绑定技能 id 后,在 **多代理(Eino DeepAgent** 会话中由 ADK **`skill`** 工具渐进加载;单代理路径不含该能力
**注意**:如果不设置 `tools` 字段,系统会默认使用所有 MCP 管理中已开启的工具。为明确控制角色可用工具,建议显式设置 `tools` 字段。
## 角色配置字段说明
@@ -58,7 +53,7 @@ enabled: true
- **icon**: 角色图标,支持Unicode emoji(可选)
- **tools**: 工具列表,指定该角色可用的工具(可选)
- **如果不设置 `tools` 字段**:默认会选中**全部MCP管理中已开启的工具**
- **如果设置了 `tools` 字段**:只使用列表中指定的工具(建议至少包含5个内置工具)
- **如果设置了 `tools` 字段**:只使用列表中指定的工具(建议至少包含上述核心内置工具)
- **skills**: 技能列表,指定该角色关联的技能(可选)
- **enabled**: 是否启用该角色(必填,true/false)
-2
View File
@@ -22,6 +22,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -16,6 +16,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -28,6 +28,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -14,6 +14,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -28,6 +28,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -20,6 +20,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -15,6 +15,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -21,6 +21,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -30,6 +30,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true
-2
View File
@@ -20,6 +20,4 @@ tools:
- record_vulnerability
- list_knowledge_risk_types
- search_knowledge_base
- list_skills
- read_skill
enabled: true