AI Enhance Workflow (TypeSafe Jev Audit & Repair)
enhance_workflowBundled 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. |