Revise Workflow Diagram
revise_workflowApply targeted delta revisions to an existing VisualSpec workflow diagram—modify labels, roles, or edges—while preserving Visual Contract validity and source grounding.
Instructions
Apply targeted delta revisions to an existing VisualSpec workflow diagram (e.g. modify node labels, adjust roles like step vs decision, add/remove edges, or heal connections) while preserving Visual Contract v0.1 validity and source grounding.
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": {
"spec": "<spec>",
"instruction": "<instruction>"
},
"name": "revise_workflow"
}
}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 |