Repair failed plan step
batch_repairOn user request, replace arguments of a definitively rejected failed step that has no accepted request ID. Supply expected_arguments from batch_get to prevent stale edits. Revalidates the entire plan, preserves completed work, and pauses; use batch_control resume after repair. Never use for uncertain or accepted jobs.
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": {
"batch_id": "<batch_id>",
"step_key": "<step_key>",
"expected_arguments": "<expected_arguments>",
"arguments": "<arguments>",
"acknowledge": "<acknowledge>"
},
"name": "batch_repair"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batch_id | Yes | UUID of the production plan. | |
| step_key | Yes | Key of the failed step to repair. | |
| arguments | Yes | Complete replacement arguments for the failed step. | |
| acknowledge | Yes | Confirm the user authorized repairing this failed step. | |
| expected_arguments | Yes | Current step arguments from batch_get, used to detect concurrent edits. |