comfy_add_node
Insert a new node into a ComfyUI workflow with a specified ID and class type. Set optional input values to configure the node.
Instructions
Add a node to a workflow.
Args: workflow: The workflow dictionary to modify node_id: ID for the new node (string, e.g. "8") class_type: ComfyUI node class type inputs: Optional input values for the node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | ||
| node_id | Yes | ||
| workflow | Yes | ||
| class_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |