Autofix & Re-Render Workflow ($0 Free)
autofix_workflowHeals broken or missing connectors, rescues orphan nodes, recomputes orthogonal layout, and returns fresh spec, SVG, Mermaid, and Excalidraw after direct VisualSpec nodes/edges edits.
Instructions
Deterministic connector healing and full visual re-rendering ($0 compute cost, instant, unlimited). Rescues orphan nodes, heals broken or missing decision branches, recomputes deterministic orthogonal layout, and returns fresh spec, svg, mermaid, excalidraw, and studioUrl. 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. | |
| authToken | No | Optional session token (`utok_...`) if not passed via Authorization header. | |
| orientation | No | Optional layout orientation (defaults to portrait). |