workflow_to_dsl
Convert a ComfyUI API-format workflow into a compact, human-readable DSL for easier editing and lossless round-trip conversion.
Instructions
Convert a ComfyUI API-format workflow into a compact, human/LLM-readable DSL — easier to read and edit than raw JSON, and round-trips losslessly back via dsl_to_workflow. Connections render as key <- nodeId.outputIndex, literals as key = <JSON>. (Experimental.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | ComfyUI workflow in API format (node ID -> {class_type, inputs}) |