verify_custom_node
Verify a custom node pack loads in ComfyUI by checking its class types are registered. Optionally restart ComfyUI and infer class types from the pack name.
Instructions
Test that a custom-node pack actually loads in ComfyUI — the middle step of the author loop (scaffold_custom_node → verify_custom_node → publish_custom_node). Restarts the local ComfyUI and waits for it to become ready, then checks that the pack's node class_types appear in /object_info. A node that fails to import (a missing dependency or a syntax error) simply never registers, so any missing class_types pinpoint a broken pack. Provide class_types explicitly, or a pack name whose init.py declares NODE_CLASS_MAPPINGS (the keys are inferred). LOCAL-ONLY: needs COMFYUI_PATH and a managed local ComfyUI. Set restart:false to check the already-running server without restarting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Pack folder under custom_nodes/. If class_types is omitted, its __init__.py NODE_CLASS_MAPPINGS keys are inferred and checked. | |
| class_types | No | Explicit NODE_CLASS_MAPPINGS keys to confirm are registered in /object_info. Takes precedence over inferring from `name`. | |
| restart | No | Restart ComfyUI before checking so newly-added packs load (default true). Set false to check the live server as-is. |