comfy_install_workflow_deps
Installs every custom-node package referenced in a ComfyUI workflow, guaranteeing all required dependencies are present and eliminating module-not-found errors before execution.
Instructions
Auto-install every custom-node package the workflow references.
Wraps comfy node install-deps --workflow=<file>. The workflow is
serialised to a temp file (in API format), passed to comfy-cli, and
the temp file is removed after. Long-running call (each missing
package downloads + installs): default timeout 600 s.
Args: workflow: API-format workflow dict. workspace: Optional --workspace path passed to comfy-cli.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |