comfy_list_installed_nodes
List installed custom nodes for your ComfyUI setup using the Manager V2 API, with comfy-cli as fallback. Returns status, line count, or installation hints.
Instructions
List custom-node packages, preferring the live Manager V2 API.
Manager V2 is dramatically faster and, unlike comfy-cli, is guaranteed to
describe the connected running installation. comfy-cli remains a
compatibility fallback when no Context/API is available.
Args:
workspace: Optional --workspace path passed to comfy-cli.
mode: Manager inventory mode (imported by default).
prefer_manager_api: Try /v2/customnode/installed first.
Returns: JSON with one of three shapes: - {status: "ok", raw_lines: [...], line_count: N} when the listing succeeded. line_count==0 means no custom nodes are installed (or only stock ComfyUI is present). - {status: "failed", comfy_cli_returncode, stderr} when the binary is present but the call exits non-zero. - {error: "...install hints..."} when comfy-cli is not on PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | imported | |
| workspace | No | ||
| prefer_manager_api | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |