import_workflow
Imports an existing ComfyUI workflow into the session from JSON, a saved name, or a local file for beautifying, diagnosing, or porting.
Instructions
Import an existing workflow into the session. Provide exactly ONE source:
workflow_json: paste the JSON inline (UI format with nodes/links, or API format {id: {class_type, inputs}})name: load straight from ComfyUI's workflow browser (see list_workflows) - preferred for large files, no pasting neededfile_path: read a local .json file Use for beautifying/diagnosing/porting outside work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| title | No | ||
| file_path | No | ||
| workflow_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||