Repair a step target
step_repairReplace the target of a paused workflow step after a repair flag, preserving order and submission boundary, and publish a new version if unchanged.
Instructions
After needs_repair: replaces the target of the paused step of that run (latest run of the workflow if no runId), never its action order or submission boundary, and publishes it as a new workflow version when the workflow is otherwise unchanged. Get verified selectors first with browser_act inspect on the live page, in the same session; then call run_resume. Returns the previous and new target. The commit (submission) step needs confirmCommitTarget: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | ||
| stepId | Yes | ||
| target | Yes | As in workflow_save: {primary: Selector, fallbacks?: Selector[], frame?}; keep a fallback. | |
| workflow | Yes | ||
| confirmCommitTarget | No | Required for the commit step, once you checked the new target is the same submit control. |