AI Enhance Workflow (TypeSafe Jev Audit & Repair)
enhance_workflowAudits a VisualSpec against its cited sources to find unsupported claims, missing decision branches, and role inaccuracies, then applies targeted repairs and returns the enhanced spec with diagrams and quality metrics.
Instructions
Bundled free semantic verification and repair powered by TypeSafe Jev. Audits the VisualSpec against its cited sources[] for unsupported claims, missing decision branches, and role accuracy, applies targeted repair if actionable issues are found, and returns the enhanced spec, svg, mermaid, excalidraw, studioUrl, and Jev quality metrics.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | The current VisualSpec JSON object (including its `sources` array) to audit and enhance. | |
| visualId | No | The `jobId` or `visualId` returned when the workflow was compiled. | |
| authToken | No | Optional session token (`utok_...`) if not passed via Authorization header. |