This commit is contained in:
V-LiuShuang
2026-04-03 15:25:45 +08:00
parent 3b306b48a5
commit aee54dce42
5 changed files with 1655 additions and 998 deletions

View File

@@ -1,7 +1,7 @@
{
"debugger": [
{
"name": "knowledge-query",
"name": "Knowledge-Query",
"description": "按用户输入的内容意图,在知识库中检索相关内容进行汇总输出",
"inputSchema": {
"type": "object",
@@ -30,7 +30,7 @@
}
},
{
"name": "generate-download-link",
"name": "Generate-Download-Link",
"description": "将用户指定的数据或文档打包生成下载链接",
"inputSchema": {
"type": "object",
@@ -59,7 +59,7 @@
}
},
{
"name": "send-mail",
"name": "Send-Mail",
"description": "将指定的邮件内容发送给指定用户",
"inputSchema": {
"type": "object",
@@ -93,7 +93,7 @@
}
},
{
"name": "project-information-query",
"name": "Project-Information-Query",
"description": "基于用户输入的项目名称、别名和五码信息查询项目的基础信息包含项目名称、项目别名、BU、PPM、BIOS Code、PJE、Phase",
"inputSchema": {
"type": "object",
@@ -158,7 +158,7 @@
}
},
{
"name": "project-file-query",
"name": "Project-File-Query",
"description": "基于用户输入的项目名称、别名、五码和文档名称信息,查询该项目的指定文档",
"inputSchema": {
"type": "object",
@@ -197,7 +197,7 @@
}
},
{
"name": "issue-information-query",
"name": "Issue-Information-Query",
"description": "基于用户输入的issue描述或issue defect ID查询相似的Issue信息包含Issue的标题、描述、所属项目、状态、解决方案",
"inputSchema": {
"type": "object",
@@ -248,7 +248,7 @@
}
},
{
"name": "issue-data-query",
"name": "Issue-Data-Query",
"description": "基于用户输入的项目名称或项目五码查询对应项目的Issue统计数据包含Issue的总数量、Open Issue数量、Close Issue数量、Close Rate数据",
"inputSchema": {
"type": "object",
@@ -294,7 +294,7 @@
}
},
{
"name": "log-information-inquiry",
"name": "Log-Information-Inquiry",
"description": "基于用户输入的issue defect ID查询相关的log基础信息包含log标题、所属项目、所处项目阶段、Log文档名及下载地址",
"inputSchema": {
"type": "object",
@@ -343,7 +343,7 @@
}
},
{
"name": "log-analysis-results",
"name": "Log-analysis-results",
"description": "基于用户输入的issue defect ID查询对应的log解析结果文档内容并将内容汇总后输出对应结论",
"inputSchema": {
"type": "object",
@@ -372,7 +372,7 @@
}
},
{
"name": "get-debugging-strategy",
"name": "Get-Debugging-Strategy",
"description": "基于用户输入的Issue描述对接DIKW系统获取对应Issue的调试策略",
"inputSchema": {
"type": "object",

302
atom_scenario.json Normal file
View File

@@ -0,0 +1,302 @@
{
"scenarios": {
"debugger": [
{
"scenarioName": "Testing and Debugging Q&A",
"description": "提供笔记本电脑测试和调试的知识问答服务,通过用户提供的简单自然语言描述,服务可快速定位相关知识文档,提供清晰的排查步骤与修复方案等相关知识内容。",
"agents": [
{
"agent": "Knowledge Q&A",
"description": "提供笔记本电脑测试和调试的知识问答服务,通过用户提供的简单自然语言描述,服务可快速定位相关知识文档,提供清晰的排查步骤与修复方案等相关知识内容。",
"agentSteps": [
"意图理解:理解用户通过自然语言表达的查询知识意图",
"知识检索:在知识库中检索相关知识内容",
"知识回答:汇总检索到的知识,输出知识内容"
],
"toolCallOrder": [
{
"order": 1,
"tool": "Knowledge-Query",
"description": "按用户输入的内容意图,在知识库中检索相关内容进行汇总输出"
}
]
}
]
},
{
"scenarioName": "Data Download",
"description": "按照用户指令生成指定数据的下载链接,由用户点击下载至本地使用",
"agents": [
{
"agent": "Data Download",
"description": "按照用户指令生成指定数据的下载链接,由用户点击下载至本地使用",
"agentSteps": [
"调用Generate-Download-Link生成下载链接供用户点击下载"
],
"toolCallOrder": [
{
"order": 1,
"tool": "Generate-Download-Link",
"description": "将指定的数据或文档打包生成下载链接"
}
]
}
]
},
{
"scenarioName": "send_email",
"description": "通知邮件内容,发送邮件通知",
"agents": [
{
"agent": "Send Mail",
"description": "通知邮件内容,发送邮件通知",
"agentSteps": [
"调用Send-Mail发送邮件通知"
],
"toolCallOrder": [
{
"order": 1,
"tool": "Send-Mail",
"description": "发送邮件通知"
}
]
}
]
},
{
"scenarioName": "Project Query",
"description": "通过输入项目名称、别名、五码和文件名称信息,查询项目的基础信息和对应项目文档数据",
"agents": [
{
"agent": "Project Query",
"description": "通过输入项目名称、别名、五码和文件名称信息,查询项目的基础信息和对应项目文档数据",
"agentSteps": [
"通过输入项目名称、别名、五码信息调用Project-Information-Query查询项目的基础信息",
"通过输入项目名称、别名、五码和文件名称信息调用Project-File-Query查询对应项目文档数据"
],
"toolCallOrder": [
{
"order": 1,
"tool": "Project-Information-Query",
"description": "基于用户输入的项目名称、别名和五码信息查询项目的基础信息包含项目名称、项目别名、BU、PPM、BIOS Code、PJE、Phase"
},
{
"order": 2,
"tool": "Project-File-Query",
"description": "基于用户输入的项目名称、别名、五码和文档名称信息,查询该项目的指定文档"
}
]
}
]
},
{
"scenarioName": "Issue Query",
"description": "通过输入Issue描述或defect ID提供TDMS系统中Issue的数据查询服务支持查询的Issue数据包含Issue基础信息包含Issue的标题、描述、所属项目、状态、解决方案通过输入项目名称或五码信息查询项目Issue统计数据包含指定项目下Issue的总数量、Open Issue数量、Close Issue数量、Close Rate数据",
"agents": [
{
"agent": "Issue Query",
"description": "通过输入Issue描述或defect ID提供TDMS系统中Issue的数据查询服务支持查询的Issue数据包含Issue基础信息包含Issue的标题、描述、所属项目、状态、解决方案通过输入项目名称或五码信息查询项目Issue统计数据包含指定项目下Issue的总数量、Open Issue数量、Close Issue数量、Close Rate数据",
"agentSteps": [
"通过输入Issue描述或Issue defect ID调用Issue-Information-Query查询相似Issue的基础信息",
"通过输入的项目名称或项目五码调用Issue-Data-Query查询Issue统计数据"
],
"toolCallOrder": [
{
"order": 1,
"tool": "Issue-Information-Query",
"description": "基于用户输入的issue描述或issue defect ID查询相似的Issue信息包含Issue的标题、描述、所属项目、状态、解决方案"
},
{
"order": 2,
"tool": "Issue-Data-Query",
"description": "基于用户输入的项目名称或项目五码查询对应项目的Issue统计数据包含Issue的总数量、Open Issue数量、Close Issue数量、Close Rate数据"
}
]
}
]
},
{
"scenarioName": "Log Query",
"description": "用户可以通过简单的自然语言描述其查询意图提供SE智能体系统中的log数据支持查询的log数据包含log基础信息包含log标题、所属项目、所处项目阶段、相关defect ID和log解析结果",
"agents": [
{
"agent": "Log Query",
"description": "用户可以通过简单的自然语言描述其查询意图提供SE智能体系统中的log数据支持查询的log数据包含log基础信息包含log标题、所属项目、所处项目阶段、相关defect ID和log解析结果",
"agentSteps": [
"通过输入Issue defect ID和查询log基础信息的意图调用Log-Information-Inquiry查询Log的基础信息",
"通过输入Issue defect ID和查询log解析结果的意图调用og-analysis-results查询log解析结果"
],
"toolCallOrder": [
{
"order": 1,
"tool": "Log-Information-Inquiry",
"description": "基于用户输入的issue defect ID查询相关的log基础信息包含log标题、所属项目、所处项目阶段、Log文档名及下载地址"
},
{
"order": 2,
"tool": "Log-analysis-results",
"description": "基于用户输入的issue defect ID查询对应的log解析结果文档内容并将内容汇总后输出对应结论"
}
]
}
]
},
{
"scenarioName": "Debugging Strategy Analysis",
"description": "能够理解用户以自然语言描述的软件问题例如“用户登录功能在特定情况下返回500错误”或“这个排序算法在处理大量数据时性能急剧下降”并输出结构化的调试策略这个调试策略可以编排为调试任务下发至测试机进行Issue的验证和排查对于不确定或知识范围外的信息必须明确说明“暂未掌握相关信息”或“建议查阅具体文档”绝不能编造调试步骤或工具若用户的问题描述过于简略无法进行有效分析应主动要求用户提供更多信息",
"agents": [
{
"agent": "Debugging Strategy Analysis",
"description": "能够理解用户以自然语言描述的软件问题例如“用户登录功能在特定情况下返回500错误”或“这个排序算法在处理大量数据时性能急剧下降”并输出结构化的调试策略这个调试策略可以编排为调试任务下发至测试机进行Issue的验证和排查对于不确定或知识范围外的信息必须明确说明“暂未掌握相关信息”或“建议查阅具体文档”绝不能编造调试步骤或工具若用户的问题描述过于简略无法进行有效分析应主动要求用户提供更多信息",
"agentSteps": [
"通过用户描述的Issue信息和defect ID数据将Issue描述及log信息调用Get-Debugging-Strategy获取Issue调试策略"
],
"toolCallOrder": [
{
"order": 1,
"tool": "Get-Debugging-Strategy",
"description": "基于用户输入的Issue描述对接DIKW系统获取对应Issue的调试策略"
}
]
}
]
}
],
"test_engineer": [
{
"scenarioName": "requirement_parser_agent",
"description": "负责自然语言理解与需求结构化。接收用户非标准化测试指令,精准识别任务类型、目标与约束,输出可被系统处理的结构化任务描述,是后续模型匹配与任务编排的基础。",
"agents": [
{
"agent": "requirement_parser_agent",
"description": "负责自然语言理解与需求结构化。接收用户非标准化测试指令,精准识别任务类型、目标与约束,输出可被系统处理的结构化任务描述,是后续模型匹配与任务编排的基础。",
"agentSteps": [
"自然语言理解:解析用户指令中的任务意图、测试类型、关键参数与约束条件",
"领域术语映射:关联测试领域专业术语与平台统一体系,确保语义一致性",
"历史上下文关联:关联用户过往会话记录,延续配置偏好与任务上下文"
],
"toolCallOrder": [
{
"order": 1,
"tool": "natural-language-understanding",
"description": "解析用户指令中的任务意图、测试类型、关键参数与约束条件"
},
{
"order": 2,
"tool": "domain-terminology-mapping",
"description": "关联测试领域专业术语与平台统一体系,确保语义一致性"
},
{
"order": 3,
"tool": "contextual-linking",
"description": "关联用户过往会话记录,延续配置偏好与任务上下文"
}
]
}
]
},
{
"scenarioName": "model_matching_orchestrator_agent",
"description": "作为原子模型库与任务需求的衔接核心,负责模型检索、排序、参数配置与流程编排。基于结构化需求从库中语义匹配关联模型,按适配度、性能指标排序推荐;自动完成参数初始化与功能域配置、文件绑定,同时支持用户可视化手动调整(增删模型、修改参数、更换配置)。采用模块化设计,技能可复用、可迭代,确保模型组合方案贴合测试需求,兼容自动化与人工干预双重模式。",
"agents": [
{
"agent": "model_matching_orchestrator_agent",
"description": "作为原子模型库与任务需求的衔接核心,负责模型检索、排序、参数配置与流程编排。基于结构化需求从库中语义匹配关联模型,按适配度、性能指标排序推荐;自动完成参数初始化与功能域配置、文件绑定,同时支持用户可视化手动调整(增删模型、修改参数、更换配置)。采用模块化设计,技能可复用、可迭代,确保模型组合方案贴合测试需求,兼容自动化与人工干预双重模式。",
"agentSteps": [
"原子模型库检索:基于任务类型与功能描述,从原子模型库中召回相关模型",
"模型排序:按匹配度、执行成功率、资源消耗等指标排序、场景拆解执行先后顺序,推荐最优模型组合",
"参数智能配置:依据任务需求自动填充模型参数",
"配置文件关联:匹配模型对应的配置文件,建立模型与文件的精准映射关系"
],
"toolCallOrder": [
{
"order": 1,
"tool": "atomic-model-retrieval",
"description": "基于任务类型与功能描述,从原子模型库中召回相关模型"
},
{
"order": 2,
"tool": "model-ranking",
"description": "按匹配度、执行成功率、资源消耗等指标排序、场景拆解执行先后顺序,推荐最优模型组合"
},
{
"order": 3,
"tool": "intelligent-parameter-config",
"description": "依据任务需求自动填充模型参数"
},
{
"order": 4,
"tool": "config-file-association",
"description": "匹配模型对应的配置文件,建立模型与文件的精准映射关系"
}
]
}
]
},
{
"scenarioName": "vlab_task_executor_agent",
"description": "用于执行vlab任务的角色可以识别yaml文件中的编排任务及属性。可以判断任务执行前置条件例如机器是否属于本人、机器是否在线可以补全任务信息包括任务所在项目、功能域、任务名称通过监控客户端当前已有任务进行当前任务的顺序编排。任务所属工具文件是否存在等。",
"agents": [
{
"agent": "vlab_task_executor_agent",
"description": "用于执行vlab任务的角色可以识别yaml文件中的编排任务及属性。可以判断任务执行前置条件例如机器是否属于本人、机器是否在线可以补全任务信息包括任务所在项目、功能域、任务名称通过监控客户端当前已有任务进行当前任务的顺序编排。任务所属工具文件是否存在等。",
"agentSteps": [
"yaml识别与解析识别yaml结构并解析出待执行工具列表及顺序",
"机器选择:根据当前登录用户及任务选择可执行机器列表,如有多个机器满足条件,返回机器列表用于人工选择",
"任务信息完善:完善任务项目信息、功能域信息、任务名称信息,并让用户确认和支持用户修改",
"测试机任务状态监测与队列智能调度:实时监测测试机任务执行状态,判断资源占用情况,新任务智能排队,空闲时自动调度执行",
"多客户端通信与任务投递:连接测试机客户端,传输任务数据,确保投递成功"
],
"toolCallOrder": [
{
"order": 1,
"tool": "yaml-parse",
"description": "识别yaml结构并解析出待执行工具列表及顺序"
},
{
"order": 2,
"tool": "unit-change",
"description": "根据当前登录用户及任务选择可执行机器列表,如有多个机器满足条件,返回机器列表用于人工选择"
},
{
"order": 3,
"tool": "task-metadata-completion",
"description": "完善任务项目信息、功能域信息、任务名称信息,并让用户确认和支持用户修改"
},
{
"order": 4,
"tool": "task-status-monitor",
"description": "实时监测测试机任务执行状态,判断资源占用情况,新任务智能排队,空闲时自动调度执行"
},
{
"order": 5,
"tool": "multi-client-communication",
"description": "连接测试机客户端,传输任务数据,确保投递成功"
}
]
}
]
},
{
"scenarioName": "test_task_query_agent",
"description": "负责接收用户查询请求(支持自然语言与结构化查询),跨平台检索测试任务、工具、模型、测试报告、测试机、任务状态等全维度数据,智能解析查询意图,精准匹配数据源,对检索结果进行结构化处理与多格式展示,并支持结果导出与进一步分析操作。",
"agents": [
{
"agent": "test_task_query_agent",
"description": "负责接收用户查询请求(支持自然语言与结构化查询),跨平台检索测试任务、工具、模型、测试报告、测试机、任务状态等全维度数据,智能解析查询意图,精准匹配数据源,对检索结果进行结构化处理与多格式展示,并支持结果导出与进一步分析操作。",
"agentSteps": [
"自然语言查询意图解析支持用户以自然语言提问可查询平台中的Tool、Model、测试报告、机器信息和机器状态、任务信息和状态、用户的信息"
],
"toolCallOrder": [
{
"order": 1,
"tool": "natural-language-query-parsing",
"description": "支持用户以自然语言提问可查询平台中的Tool、Model、测试报告、机器信息和机器状态、任务信息和状态、用户的信息"
}
]
}
]
}
]
}
}

1343
flow_scenario.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,584 +0,0 @@
{
"tools": [
{
"name": "natural-language-understanding",
"description": "将用户自然语言指令转化为结构化任务意图",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "用户自然语言指令如“对XX模块做功能测试要求高并发”"
}
},
"required": [
"query"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"taskType": {
"type": "string",
"description": "任务类型"
},
"taskTarget": {
"type": "string",
"description": "测试目标"
},
"keyParameters": {
"type": "string",
"description": "关键参数"
},
"constraints": {
"type": "string",
"description": "约束条件"
}
},
"required": [
"taskType",
"taskTarget",
"keyParameters",
"constraints"
]
}
},
{
"name": "domain-terminology-mapping",
"description": "将测试领域的专业术语映射为平台统一标准",
"inputSchema": {
"type": "object",
"properties": {
"term": {
"type": "string",
"description": "测试领域专业术语(如“冒烟测试”、“回归测试”)"
}
},
"required": [
"term"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"standardDefinition": {
"type": "string",
"description": "平台统一的标准术语解释"
}
},
"required": [
"standardDefinition"
]
}
},
{
"name": "contextual-linking",
"description": "关联历史会话上下文与当前配置偏好",
"inputSchema": {
"type": "object",
"properties": {
"history": {
"type": "string",
"description": "用户历史会话记录(含配置偏好、之前任务上下文)"
}
},
"required": [
"history"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"contextInfo": {
"type": "string",
"description": "当前会话的延续配置偏好及任务上下文关联信息"
}
},
"required": [
"contextInfo"
]
}
},
{
"name": "model-retrieval",
"description": "根据任务描述从库中召回相关模型",
"inputSchema": {
"type": "object",
"properties": {
"taskDesc": {
"type": "string",
"description": "任务类型与功能描述(如“需要图像分类模型”)"
}
},
"required": [
"taskDesc"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"modelList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"modelType": {
"type": "string",
"description": "模型类型(原子模型、组合模型)"
},
"level": {
"type": "string",
"description": "层级"
},
"modelId": {
"type": "string",
"description": "模型ID"
},
"modelName": {
"type": "string",
"description": "模型名称"
},
"version": {
"type": "string",
"description": "版本"
},
"status": {
"type": "string",
"description": "模型状态(启用/禁用)"
},
"relatedToolVersion": {
"type": "string",
"description": "关联工具版本"
}
},
"required": [
"modelType",
"level",
"modelId",
"modelName",
"version",
"status",
"relatedToolVersion"
]
}
}
},
"required": [
"modelList"
]
}
},
{
"name": "intelligent-parameter-config",
"description": "根据任务需求智能生成模型配置参数",
"inputSchema": {
"type": "object",
"properties": {
"requirements": {
"type": "object",
"properties": {
"loopCount": {
"type": "integer",
"description": "循环次数"
},
"retryCount": {
"type": "integer",
"description": "重试次数"
},
"timeout": {
"type": "integer",
"description": "超时时间"
}
},
"required": [
"loopCount",
"retryCount",
"timeout"
]
}
},
"required": [
"requirements"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"config": {
"type": "object",
"properties": {
"modelName": {
"type": "string",
"description": "模型名称"
},
"modelType": {
"type": "string",
"description": "模型类型"
},
"configFileVersion": {
"type": "string",
"description": "配置文件版本"
},
"errorHandling": {
"type": "string",
"description": "报错处理"
},
"resultCheckMethod": {
"type": "string",
"description": "结果检查方式"
},
"outputRedirect": {
"type": "string",
"description": "输出重定向"
}
},
"required": [
"modelName",
"modelType",
"configFileVersion",
"errorHandling",
"resultCheckMethod",
"outputRedirect"
]
}
},
"required": [
"config"
]
}
},
{
"name": "config-file-association",
"description": "根据模型ID关联对应的配置文件路径",
"inputSchema": {
"type": "object",
"properties": {
"modelId": {
"type": "string",
"description": "选定的模型ID"
}
},
"required": [
"modelId"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"association": {
"type": "object",
"properties": {
"modelId": {
"type": "string",
"description": "模型ID"
},
"configPath": {
"type": "string",
"description": "配置文件路径"
}
},
"required": [
"modelId",
"configPath"
]
}
},
"required": [
"association"
]
}
},
{
"name": "task-parse",
"description": "解析任务步骤与工具调用顺序",
"inputSchema": {
"type": "object",
"properties": {
"taskSteps": {
"type": "array",
"description": "任务步骤"
},
"taskInfo": {
"type": "string",
"description": "任务信息"
},
"modelInfo": {
"type": "string",
"description": "模型信息"
},
"toolOrder": {
"type": "array",
"description": "工具调用顺序"
},
"machineIds": {
"type": "array",
"description": "测试机ID列表"
}
},
"required": [
"taskSteps",
"taskInfo",
"modelInfo",
"toolOrder",
"machineIds"
]
},
"outputSchema": {
"type": "object",
"properties": {
"executionList": {
"type": "array",
"description": "解析后的待执行工具列表及顺序"
}
},
"required": [
"executionList"
]
}
},
{
"name": "unit-change",
"description": "根据需求查询可用的执行机器",
"inputSchema": {
"type": "object",
"properties": {
"username": {
"type": "string",
"description": "当前登录用户名"
},
"need": {
"type": "string",
"description": "任务需求(如“需要空闲机器”)"
}
},
"required": [
"username",
"need"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"machineList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"machineName": {
"type": "string",
"description": "机器名称"
},
"machineId": {
"type": "string",
"description": "机器ID"
},
"status": {
"type": "string",
"description": "状态"
}
},
"required": [
"machineName",
"machineId",
"status"
]
}
}
},
"required": [
"machineList"
]
}
},
{
"name": "task-metadata-completion",
"description": "补全任务元数据(项目、功能域等)",
"inputSchema": {
"type": "object",
"properties": {
"partialInfo": {
"type": "object",
"properties": {
"projectName": {
"type": "string",
"description": "项目名"
},
"functionDomain": {
"type": "string",
"description": "功能域"
}
},
"required": [
"projectName",
"functionDomain"
]
}
},
"required": [
"partialInfo"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"fullMetadata": {
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "项目"
},
"functionDomain": {
"type": "string",
"description": "功能域"
},
"taskName": {
"type": "string",
"description": "任务名称"
}
},
"required": [
"project",
"functionDomain",
"taskName"
]
}
},
"required": [
"fullMetadata"
]
}
},
{
"name": "task-status-monitor",
"description": "监控测试机或任务的执行状态",
"inputSchema": {
"type": "object",
"properties": {
"targetId": {
"type": "string",
"description": "测试机ID或任务ID"
}
},
"required": [
"targetId"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "当前测试机任务执行状态"
},
"resources": {
"type": "string",
"description": "资源占用情况"
},
"queue": {
"type": "array",
"description": "队列中等待的任务列表"
}
},
"required": [
"status",
"resources",
"queue"
]
}
},
{
"name": "multi-client-communication",
"description": "向测试机客户端投递任务数据",
"inputSchema": {
"type": "object",
"properties": {
"clientAddr": {
"type": "string",
"description": "测试机客户端地址"
},
"taskData": {
"type": "object",
"description": "任务数据(包含工具命令、参数)"
}
},
"required": [
"clientAddr",
"taskData"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"deliveryStatus": {
"type": "string",
"description": "投递成功/失败状态"
},
"confirmation": {
"type": "string",
"description": "任务接收确认信息"
}
},
"required": [
"deliveryStatus",
"confirmation"
]
}
},
{
"name": "natural-language-query-parsing",
"description": "将自然语言查询转化为跨平台结构化检索",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "用户自然语言查询(如“查一下最近失败的测试任务”)"
}
},
"required": [
"query"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "数据类型Tool、Model、测试报告等"
},
"data": {
"type": "object",
"description": "结构化数据内容"
}
},
"required": [
"type",
"data"
]
}
}
},
"required": [
"results"
]
}
}
]
}

View File

@@ -1,404 +0,0 @@
{
"tools": [
{
"name": "knowledge-query",
"description": "按用户输入的内容意图,在知识库中检索相关内容进行汇总输出",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "用户的输入内容"
}
},
"required": [
"query"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "汇总后的知识库中的内容"
}
},
"required": [
"content"
]
}
},
{
"name": "generate-download-link",
"description": "将用户指定的数据或文档打包生成下载链接",
"inputSchema": {
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "用户指定的数据或文档信息"
}
},
"required": [
"data"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"downloadLink": {
"type": "string",
"description": "生成的下载链接"
}
},
"required": [
"downloadLink"
]
}
},
{
"name": "send-mail",
"description": "将指定的邮件内容发送给指定用户",
"inputSchema": {
"type": "object",
"properties": {
"recipient": {
"type": "string",
"description": "指定接收邮件的用户"
},
"content": {
"type": "string",
"description": "邮件内容"
}
},
"required": [
"recipient",
"content"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "邮件发送的结果(success/failed)"
}
},
"required": [
"result"
]
}
},
{
"name": "project-information-query",
"description": "基于用户输入的项目名称、别名和五码信息查询项目的基础信息包含项目名称、项目别名、BU、PPM、BIOS Code、PJE、Phase",
"inputSchema": {
"type": "object",
"properties": {
"projectName": {
"type": "string",
"description": "项目名称"
},
"alias": {
"type": "string",
"description": "项目别名"
},
"code": {
"type": "string",
"description": "五码信息"
}
},
"required": [],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"projectName": {
"type": "string",
"description": "项目名称"
},
"alias": {
"type": "string",
"description": "项目别名"
},
"bu": {
"type": "string",
"description": "BU"
},
"ppm": {
"type": "string",
"description": "PPM"
},
"biosCode": {
"type": "string",
"description": "BIOS Code"
},
"pje": {
"type": "string",
"description": "PJE"
},
"phase": {
"type": "string",
"description": "Phase"
}
},
"required": [
"projectName",
"alias",
"bu",
"ppm",
"biosCode",
"pje",
"phase"
]
}
},
{
"name": "project-file-query",
"description": "基于用户输入的项目名称、别名、五码和文档名称信息,查询该项目的指定文档",
"inputSchema": {
"type": "object",
"properties": {
"projectName": {
"type": "string",
"description": "项目名称"
},
"alias": {
"type": "string",
"description": "项目别名"
},
"code": {
"type": "string",
"description": "五码信息"
},
"documentName": {
"type": "string",
"description": "文档名称"
}
},
"required": [],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "查询到的文档内容"
}
},
"required": [
"document"
]
}
},
{
"name": "issue-information-query",
"description": "基于用户输入的issue描述或issue defect ID查询相似的Issue信息包含Issue的标题、描述、所属项目、状态、解决方案",
"inputSchema": {
"type": "object",
"properties": {
"issueDescription": {
"type": "string",
"description": "Issue描述"
},
"defectId": {
"type": "string",
"description": "Issue defect ID"
}
},
"required": [],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Issue的标题"
},
"description": {
"type": "string",
"description": "Issue的描述"
},
"project": {
"type": "string",
"description": "所属项目"
},
"status": {
"type": "string",
"description": "状态"
},
"solution": {
"type": "string",
"description": "解决方案"
}
},
"required": [
"title",
"description",
"project",
"status",
"solution"
]
}
},
{
"name": "issue-data-query",
"description": "基于用户输入的项目名称或项目五码查询对应项目的Issue统计数据包含Issue的总数量、Open Issue数量、Close Issue数量、Close Rate数据",
"inputSchema": {
"type": "object",
"properties": {
"projectName": {
"type": "string",
"description": "项目名称"
},
"code": {
"type": "string",
"description": "项目五码"
}
},
"required": [],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"totalIssueCount": {
"type": "integer",
"description": "Issue的总数量"
},
"openIssueCount": {
"type": "integer",
"description": "Open Issue数量"
},
"closeIssueCount": {
"type": "integer",
"description": "Close Issue数量"
},
"closeRate": {
"type": "number",
"description": "Close Rate数据"
}
},
"required": [
"totalIssueCount",
"openIssueCount",
"closeIssueCount",
"closeRate"
]
}
},
{
"name": "log-information-inquiry",
"description": "基于用户输入的issue defect ID查询相关的log基础信息包含log标题、所属项目、所处项目阶段、Log文档名及下载地址",
"inputSchema": {
"type": "object",
"properties": {
"defectId": {
"type": "string",
"description": "Issue defect ID"
}
},
"required": [
"defectId"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"logTitle": {
"type": "string",
"description": "Log标题"
},
"project": {
"type": "string",
"description": "所属项目"
},
"phase": {
"type": "string",
"description": "所处项目阶段"
},
"logDocumentName": {
"type": "string",
"description": "Log文档名"
},
"downloadUrl": {
"type": "string",
"description": "下载地址"
}
},
"required": [
"logTitle",
"project",
"phase",
"logDocumentName",
"downloadUrl"
]
}
},
{
"name": "log-analysis-results",
"description": "基于用户输入的issue defect ID查询对应的log解析结果文档内容并将内容汇总后输出对应结论",
"inputSchema": {
"type": "object",
"properties": {
"defectId": {
"type": "string",
"description": "Issue defect ID"
}
},
"required": [
"defectId"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"conclusion": {
"type": "string",
"description": "汇总后的结论"
}
},
"required": [
"conclusion"
]
}
},
{
"name": "get-debugging-strategy",
"description": "基于用户输入的Issue描述对接DIKW系统获取对应Issue的调试策略",
"inputSchema": {
"type": "object",
"properties": {
"issueDescription": {
"type": "string",
"description": "Issue描述"
}
},
"required": [
"issueDescription"
],
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"strategy": {
"type": "string",
"description": "对应的调试策略"
}
},
"required": [
"strategy"
]
}
}
]
}