comfy_set_widget_value
Set a widget value on a workflow node to update node inputs, enabling automated configuration of ComfyUI workflows.
Instructions
Set a widget value on a workflow node.
Args: workflow: The workflow dictionary node_id: ID of the node to modify widget_name: Name of the widget/input to set value: Value to set
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| node_id | Yes | ||
| workflow | Yes | ||
| widget_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |