Revise Workflow Diagram
revise_workflowApply explicit node label/role changes or node removal using node IDs, or request connector autofix. For other changes, including new steps or edges, edit the returned spec with confirmed source evidence and call autofix_workflow. Unsupported instructions return an error; this tool does not perform general natural-language rewrites.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The existing VisualSpec object to revise | |
| authToken | No | Optional session token (`utok_...`) if not passed via Authorization header. | |
| instruction | Yes | Clear revision instruction (e.g. 'Change node-2 role to decision and label to Finance Approval?', 'Remove orphan node-4', 'Autofix layout connections') | |
| additionalSources | No | Optional additional source evidence excerpts to support the revision |