zentao_next
Fetch the next ZenTao defect to fix, filter out ineligible tickets, and return a full context package; return stop with a summary when no work remains or limits are reached.
Instructions
【核心循环】取「下一条该修的缺陷」,或告诉智能体停下来。会自动:拉取缺陷 → 跳过改数据的(需求④)→ 跳过没配仓库/超策略的 → 挑一条按优先级排序 → 返回完整上下文包。当没有可修的、或达到本轮上限、或连续失败过多时,返回 action="stop" 并附汇总(需求⑤)。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "zentao_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | 轮次 ID;不传则用最近一轮,没有就新开一轮 | |
| dryRun | No | 只看会挑哪条,不改动轮次状态 | |
| restart | No | true=不管有没有旧轮次,直接开新一轮 |