load_workflow
Load a saved ComfyUI workflow by name or file path and return its JSON for execution or saving.
Instructions
Load a saved workflow by name (from workflows/.json) or by path. Returns workflow JSON for use with execute_workflow or save_workflow.
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": {
"name_or_path": "<name_or_path>"
},
"name": "load_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_or_path | Yes | Workflow name (filename without .json) or full path to .json file |