comfyui_set_input
Set a literal node input value - such as prompt text, seed, dimensions, or model name - in a ComfyUI workflow.
Instructions
Set a literal node input such as prompt text, seed, dimensions, or model name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workflow_name": "<workflow_name>",
"node_id": "<node_id>",
"input_name": "<input_name>",
"value": "<value>"
},
"name": "comfyui_set_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| node_id | Yes | ||
| input_name | Yes | ||
| workflow_name | Yes | ||
| expected_revision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||