recommend_workflow
Returns the appropriate workflow, settings, and prompting guide for a given model filename before generation, so checkpoints and UNETs are matched to the correct ComfyUI workflow.
Instructions
IMPORTANT: Call this BEFORE generating images to get the correct workflow and settings for a model. Given a model filename, returns the recommended workflow, optimal settings (steps, CFG, resolution), and prompting guide. Essential for matching checkpoint vs UNET models to the right 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": {
"modelName": "<modelName>"
},
"name": "recommend_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskType | No | What type of generation task | txt2img |
| modelName | Yes | The model filename to match (e.g., 'flux1-schnell-fp8.safetensors') | |
| availableUnets | No | List of available UNET files (from list_models) | |
| availableCheckpoints | No | List of available checkpoint files (from list_models) |