dsl_to_workflow
Convert compact workflow DSL into executable ComfyUI API JSON. Author and edit workflows in legible DSL, then convert to run.
Instructions
Convert the compact workflow DSL (see workflow_to_dsl) back into executable ComfyUI API-format JSON. Useful for authoring/editing workflows in the legible DSL, then converting to run with enqueue_workflow. (Experimental.)
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": {
"dsl": "<dsl>"
},
"name": "dsl_to_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsl | Yes | Workflow DSL text |