add
This commit is contained in:
398
agent_tool.json
398
agent_tool.json
@@ -2,13 +2,13 @@
|
|||||||
"tools": [
|
"tools": [
|
||||||
{
|
{
|
||||||
"name": "natural-language-understanding",
|
"name": "natural-language-understanding",
|
||||||
"description": "根据用户的需求制作任务计划",
|
"description": "将用户自然语言指令转化为结构化任务意图",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"query": {
|
"query": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "用户的需求"
|
"description": "用户自然语言指令(如“对XX模块做功能测试,要求高并发”)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
"taskTarget": {
|
"taskTarget": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "任务目标"
|
"description": "测试目标"
|
||||||
},
|
},
|
||||||
"keyParameters": {
|
"keyParameters": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -44,110 +44,126 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[
|
|
||||||
{
|
{
|
||||||
"name": "domain-terminology-mapping",
|
"name": "domain-terminology-mapping",
|
||||||
"description": "将测试领域专业术语映射为平台统一的标准术语及数据模型",
|
"description": "将测试领域的专业术语映射为平台统一标准",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"query": {
|
"term": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "测试领域专业术语(如“冒烟测试”、“回归测试”)"
|
"description": "测试领域专业术语(如“冒烟测试”、“回归测试”)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"query"
|
"term"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"standardTerminology": {
|
"standardDefinition": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "平台统一的标准术语"
|
"description": "平台统一的标准术语解释"
|
||||||
},
|
|
||||||
"dataModel": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "对应的数据模型"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"standardTerminology",
|
"standardDefinition"
|
||||||
"dataModel"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "contextual-linking",
|
"name": "contextual-linking",
|
||||||
"description": "关联用户历史会话记录,获取当前任务的配置偏好及上下文信息",
|
"description": "关联历史会话上下文与当前配置偏好",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"query": {
|
"history": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "用户历史会话记录(含配置偏好、之前任务上下文)"
|
"description": "用户历史会话记录(含配置偏好、之前任务上下文)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"query"
|
"history"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"configurationPreferences": {
|
"contextInfo": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "当前会话的延续配置偏好"
|
"description": "当前会话的延续配置偏好及任务上下文关联信息"
|
||||||
},
|
|
||||||
"contextualInformation": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "任务上下文关联信息"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"configurationPreferences",
|
"contextInfo"
|
||||||
"contextualInformation"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "atomic-model-retrieval",
|
"name": "model-retrieval",
|
||||||
"description": "根据任务类型与功能描述,从原子模型库中召回相关模型",
|
"description": "根据任务描述从库中召回相关模型",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"query": {
|
"taskDesc": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "任务类型与功能描述(如“需要图像分类模型”)"
|
"description": "任务类型与功能描述(如“需要图像分类模型”)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"query"
|
"taskDesc"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"modelList": {
|
"modelList": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "原子模型库中召回的相关模型列表",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"modelType": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "模型类型(原子模型、组合模型)"
|
||||||
|
},
|
||||||
|
"level": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "层级"
|
||||||
|
},
|
||||||
"modelId": {
|
"modelId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "模型ID"
|
"description": "模型ID"
|
||||||
},
|
},
|
||||||
"modelName": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "模型名称"
|
"description": "名称"
|
||||||
},
|
},
|
||||||
"basicInfo": {
|
"version": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "基础信息"
|
"description": "版本"
|
||||||
}
|
},
|
||||||
|
"status": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "模型状态(启用/禁用)"
|
||||||
|
},
|
||||||
|
"relatedToolVersion": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "关联工具版本"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"modelType",
|
||||||
|
"level",
|
||||||
|
"modelId",
|
||||||
|
"name",
|
||||||
|
"version",
|
||||||
|
"status",
|
||||||
|
"relatedToolVersion"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -156,81 +172,89 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "model-ranking",
|
|
||||||
"description": "根据匹配度、成功率等指标对模型列表进行排序和推荐",
|
|
||||||
"inputSchema": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"modelList": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "待排序的模型列表"
|
|
||||||
},
|
|
||||||
"rankingMetrics": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "排序指标(匹配度、执行成功率、资源消耗等)"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"modelList",
|
|
||||||
"rankingMetrics"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"outputSchema": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"recommendedCombinations": {
|
|
||||||
"type": "array",
|
|
||||||
"description": "排序后的模型组合推荐",
|
|
||||||
"items": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"order": {
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"expectedScore": {
|
|
||||||
"type": "number"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"recommendedCombinations"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "intelligent-parameter-config",
|
"name": "intelligent-parameter-config",
|
||||||
"description": "根据任务需求自动填充模型参数字典",
|
"description": "根据任务需求智能生成模型配置参数",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"taskRequirements": {
|
"requirements": {
|
||||||
"type": "string",
|
"type": "object",
|
||||||
"description": "任务需求参数(如batch size、学习率范围)"
|
"properties": {
|
||||||
|
"loopCount": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "循环次数"
|
||||||
|
},
|
||||||
|
"retryCount": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "重试次数"
|
||||||
|
},
|
||||||
|
"timeout": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "超时时间"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"taskRequirements"
|
"loopCount",
|
||||||
|
"retryCount",
|
||||||
|
"timeout"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"requirements"
|
||||||
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"parameterDictionary": {
|
"config": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "自动填充的模型参数字典(可直接用于任务下发)"
|
"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": [
|
"required": [
|
||||||
"parameterDictionary"
|
"modelName",
|
||||||
|
"modelType",
|
||||||
|
"configFileVersion",
|
||||||
|
"errorHandling",
|
||||||
|
"resultCheckMethod",
|
||||||
|
"outputRedirect"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"config"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "config-file-association",
|
"name": "config-file-association",
|
||||||
"description": "根据模型ID匹配对应的配置文件路径",
|
"description": "根据模型ID关联对应的配置文件路径",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -241,57 +265,86 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"modelId"
|
"modelId"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"configFilePath": {
|
"association": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"modelId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "匹配的配置文件路径"
|
"description": "模型ID"
|
||||||
},
|
},
|
||||||
"modelFileMapping": {
|
"configPath": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "模型-文件映射关系"
|
"description": "配置文件路径"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"configFilePath",
|
"modelId",
|
||||||
"modelFileMapping"
|
"configPath"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"association"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "yaml-parse",
|
"name": "task-parse",
|
||||||
"description": "解析YAML格式的编排文件,生成待执行工具列表",
|
"description": "解析任务步骤与工具调用顺序",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"yamlFile": {
|
"taskSteps": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "任务步骤"
|
||||||
|
},
|
||||||
|
"taskInfo": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "YAML格式的编排文件(包含任务步骤、工具调用顺序)"
|
"description": "任务信息"
|
||||||
|
},
|
||||||
|
"modelInfo": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "模型信息"
|
||||||
|
},
|
||||||
|
"toolOrder": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "工具调用顺序"
|
||||||
|
},
|
||||||
|
"machineIds": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "测试机ID列表"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"yamlFile"
|
"taskSteps",
|
||||||
|
"taskInfo",
|
||||||
|
"modelInfo",
|
||||||
|
"toolOrder",
|
||||||
|
"machineIds"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"toolList": {
|
"executionList": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "解析后的待执行工具列表及顺序(JSON格式)"
|
"description": "解析后的待执行工具列表及顺序"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"toolList"
|
"executionList"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "unit-change",
|
"name": "unit-change",
|
||||||
"description": "根据用户需求查询并返回可执行机器列表",
|
"description": "根据需求查询可用的执行机器",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -299,35 +352,43 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "当前登录用户名"
|
"description": "当前登录用户名"
|
||||||
},
|
},
|
||||||
"taskRequirements": {
|
"need": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "任务需求(如“需要空闲机器”)"
|
"description": "任务需求(如“需要空闲机器”)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"username",
|
"username",
|
||||||
"taskRequirements"
|
"need"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"machineList": {
|
"machineList": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "可执行机器列表(含机器名称、机器ID、状态),若多机则返回列表供人工选择",
|
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"machineName": {
|
"machineName": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "机器名称"
|
||||||
},
|
},
|
||||||
"machineId": {
|
"machineId": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "机器ID"
|
||||||
},
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
}
|
"description": "状态"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"machineName",
|
||||||
|
"machineId",
|
||||||
|
"status"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -338,78 +399,100 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "task-metadata-completion",
|
"name": "task-metadata-completion",
|
||||||
"description": "完善任务元数据并返回用户确认",
|
"description": "补全任务元数据(项目、功能域等)",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"partialInfo": {
|
"partialInfo": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"projectName": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "部分任务信息(如项目名、功能域)"
|
"description": "项目名"
|
||||||
|
},
|
||||||
|
"functionDomain": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "功能域"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"projectName",
|
||||||
|
"functionDomain"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"partialInfo"
|
"partialInfo"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"completeMetadata": {
|
"fullMetadata": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "完善后的完整任务元数据",
|
|
||||||
"properties": {
|
"properties": {
|
||||||
"project": {
|
"project": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "项目"
|
||||||
},
|
},
|
||||||
"domain": {
|
"functionDomain": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"description": "功能域"
|
||||||
},
|
},
|
||||||
"taskName": {
|
"taskName": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
}
|
"description": "任务名称"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"completeMetadata"
|
"project",
|
||||||
|
"functionDomain",
|
||||||
|
"taskName"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"fullMetadata"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "task-status-monitor",
|
"name": "task-status-monitor",
|
||||||
"description": "监控测试机或任务的执行状态和资源占用情况",
|
"description": "监控测试机或任务的执行状态",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"taskIdOrMachineId": {
|
"targetId": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "测试机ID或任务ID"
|
"description": "测试机ID或任务ID"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"taskIdOrMachineId"
|
"targetId"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"executionStatus": {
|
"status": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "当前测试机任务执行状态"
|
"description": "当前测试机任务执行状态"
|
||||||
},
|
},
|
||||||
"resourceUsage": {
|
"resources": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "资源占用情况"
|
"description": "资源占用情况"
|
||||||
},
|
},
|
||||||
"waitingQueue": {
|
"queue": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "队列中等待的任务列表"
|
"description": "队列中等待的任务列表"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"executionStatus",
|
"status",
|
||||||
"resourceUsage",
|
"resources",
|
||||||
"waitingQueue"
|
"queue"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -419,19 +502,20 @@
|
|||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"clientAddress": {
|
"clientAddr": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "测试机客户端地址"
|
"description": "测试机客户端地址"
|
||||||
},
|
},
|
||||||
"taskData": {
|
"taskData": {
|
||||||
"type": "string",
|
"type": "object",
|
||||||
"description": "任务数据(包含工具命令、参数)"
|
"description": "任务数据(包含工具命令、参数)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"clientAddress",
|
"clientAddr",
|
||||||
"taskData"
|
"taskData"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
@@ -440,20 +524,20 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "投递成功/失败状态"
|
"description": "投递成功/失败状态"
|
||||||
},
|
},
|
||||||
"confirmationMessage": {
|
"confirmation": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "任务接收确认信息"
|
"description": "任务接收确认信息"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"deliveryStatus",
|
"deliveryStatus",
|
||||||
"confirmationMessage"
|
"confirmation"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "natural-language-query-parsing",
|
"name": "natural-language-query-parsing",
|
||||||
"description": "解析用户自然语言查询,检索跨平台结构化数据",
|
"description": "将自然语言查询转化为跨平台结构化检索",
|
||||||
"inputSchema": {
|
"inputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -464,21 +548,37 @@
|
|||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"query"
|
"query"
|
||||||
]
|
],
|
||||||
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"outputSchema": {
|
"outputSchema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"searchResults": {
|
"results": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "跨平台检索结果(Tool、Model、测试报告、机器信息、任务状态、用户信息等结构化数据)"
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "数据类型(Tool、Model、测试报告等)"
|
||||||
|
},
|
||||||
|
"data": {
|
||||||
|
"type": "object",
|
||||||
|
"description": "结构化数据内容"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"searchResults"
|
"type",
|
||||||
|
"data"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"results"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user