export_workflow_json
Export a ComfyUI workflow as JSON: choose UI format to preserve canvas layout and notes for sharing, or API format for POST /prompt 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 | |||