Auto-fix a workflow with AI
autofix_workflowLike validate_workflow, but when issues remain it asks an AI model to
repair them (up to 2 rounds) and re-validates. Nothing is deployed.
Returns the repaired workflowJSON, ready to paste into n8n.
Args:
workflow_json: The workflow JSON to repair.
intent: What the workflow is meant to do -- helps fixes stay faithful.
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": {
"workflow_json": "<workflow_json>"
},
"name": "autofix_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent | No | ||
| workflow_json | Yes |