export_workflow_json
Export a ComfyUI workflow as JSON in UI format for sharing with layout and notes, or API format for automation.
Instructions
The workflow as JSON: 'ui' (shareable, opens in the editor, keeps layout & notes) or 'api' (for POST /prompt automation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ui | |
| workflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||