add_node
Adds a node to a dynamic ComfyUI workflow and returns its new node ID for chaining further steps.
Instructions
Add a node to a dynamic workflow. Returns the new node id (e.g. "1", "2").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Node inputs (literal values; use connect_nodes for links) | |
| class_type | Yes | ComfyUI node class (e.g. CheckpointLoaderSimple, CLIPTextEncode) | |
| workflow_id | Yes | Workflow id from create_workflow |