rework_task
rework_taskRework a failed or needs-attention task by requeueing it for continued execution with the same agent, project, and round. Add feedback to guide the retry, such as a summary of the previous acceptance failure.
Instructions
手动返修:把终态任务(failed/needs_attention)重新入队续跑,同一 agent/项目与轮次记账。feedback 为追加指示(建议带上一次验收失败摘要)。
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": {
"taskId": "<taskId>"
},
"name": "rework_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| feedback | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| mode | No | ||
| model | No | ||
| round | No | ||
| checks | No | ||
| result | No | ||
| status | No | ||
| taskId | No | ||
| agentId | No | ||
| logFile | No | ||
| message | No | ||
| diffstat | No | ||
| errorType | No | ||
| finishedAt | No | ||
| abortSource | No | ||
| projectPath | No | ||
| reportFiles | No | ||
| reportRound | No | ||
| cancelReason | No | ||
| changedFiles | No | ||
| keptInstance | No | ||
| lastRunSignal | No | ||
| modelProvider | No | ||
| needsUserKind | No | ||
| agentEndReason | No | ||
| permissionMode | No | ||
| zcodeSessionId | No | ||
| pendingQuestion | No | ||
| progressSummary | No | ||
| boundProjectPath | No | ||
| cancelRequestedAt | No | ||
| verificationSource | No | ||
| latestVerificationVerdict | No |