zentao_report
Record a defect fix outcome and return the next agent step: continue to another bug or stop and summarize; optionally write the conclusion back to ZenTao and mark it resolved.
Instructions
回填一条缺陷的修复结果,并告诉智能体下一步(继续下一条 / 停止并汇总)。outcome=fixed 时建议填 rootCause/fix/files/verify;outcome=failed 时填 reason。若配置里 writeBack=true 且非只读,会同时把结论评论回禅道并要求确认是否标记解决。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bugId": "<bugId>",
"outcome": "<outcome>"
},
"name": "zentao_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fix | No | 改了什么 | |
| bugId | Yes | 缺陷 ID | |
| files | No | 改动文件列表 | |
| runId | No | 轮次 ID(不传用最近一轮) | |
| title | No | 缺陷标题(便于汇总可读) | |
| commit | No | 提交哈希或分支 | |
| reason | No | 失败/跳过原因 | |
| verify | No | 怎么验证的(测试/自测步骤/输出摘要) | |
| outcome | Yes | 这条的结果 | |
| rootCause | No | 根因 | |
| writeBack | No | 是否把结论写回禅道(覆盖配置,需 readonly=false) | |
| resolveBug | No | 写回时是否同时标记为已解决 |