404 lines
14 KiB
JSON
404 lines
14 KiB
JSON
{
|
||
"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"
|
||
]
|
||
}
|
||
}
|
||
]
|
||
} |