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.
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": "enhance_workflow"
}
}Input 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. |