get_workflow_models
Extract required model names and types from a ComfyUI workflow JSON by scanning loader nodes. Identifies checkpoints, LoRAs, VAEs, and ControlNets without a ComfyUI connection.
Instructions
Extract required models from a workflow (loader nodes: CheckpointLoaderSimple, LoraLoader, VAELoader, ControlNetLoader, UpscaleModelLoader, etc.). Returns list of { name, type, nodeId, nodeClass, inputName }. No ComfyUI connection needed.
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": "<workflow>"
},
"name": "get_workflow_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes | Workflow JSON string |