Autofix & Re-Render Workflow ($0 Free)
autofix_workflowDeterministic connector healing and full visual re-rendering ($0 compute cost, instant, unlimited). Cleans exact duplicate edges and empty sequence labels, recomputes deterministic orthogonal layout, and returns fresh spec, svg, mermaid, excalidraw, and studioUrl. Missing steps or branches require source-backed edits to the spec; this tool preserves graph meaning and does not perform semantic verification. Use this tool after making direct structural edits to VisualSpec JSON (nodes / edges), or when a user asks to autofix connectors.
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>"
},
"name": "autofix_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The VisualSpec JSON object to deterministically heal and re-render into SVG, Mermaid, and Excalidraw. | |
| swimlane | No | Optional swimlane layout toggle (defaults to automatic swimlanes when 2+ actor groups exist). | |
| authToken | No | Optional session token (`utok_...`) if not passed via Authorization header. | |
| orientation | No | Optional layout orientation (defaults to topology auto-orientation). |