bw_restart_process_chain_step
Restart a failed or canceled process chain step as a new instance after fixing the cause, so the run continues without restarting the entire chain.
Instructions
Repeat a failed or canceled step of a process chain run, as the process chain monitor does with "Repeat": the step runs again as a new instance within the same run (step number n-2, n-3, …), and the chain continues from there along its success links. Use it after the cause of the failure is removed (a lock released, data corrected), instead of starting the whole chain again. Without process_id the single failed or canceled step of the run is repeated; with several, name one. Steps that finished, are running or never ran are refused. The result names the new instance; follow the run with bw_get_process_chain_run_detail.
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": {
"chain_id": "<chain_id>",
"log_id": "<log_id>"
},
"name": "bw_restart_process_chain_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log_id | Yes | Log ID of the run, from bw_list_process_chain_runs or bw_list_process_chain_last_status. | |
| chain_id | Yes | Process chain technical name (e.g. "CHAIN_NAME"). | |
| process_id | No | Step number as bw_get_process_chain_run_detail shows it (e.g. "8-1"). Optional when the run has exactly one failed or canceled step. |