get_workflow_template
Retrieve a pre-built ComfyUI workflow template for image generation, including Flux Dev for higher quality, Flux Schnell for faster processing, or an empty template to start from scratch.
Instructions
Get a pre-built workflow template.
Args:
template_name: One of:
- 'empty': Empty workflow
- 'fal-flux-dev': Flux Dev via fal.ai (higher quality)
- 'fal-flux-schnell': Flux Schnell via fal.ai (faster)
Returns a workflow dict that can be modified and executed.
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": {
"template_name": "<template_name>"
},
"name": "get_workflow_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_name | Yes | Template: 'fal-flux-dev', 'fal-flux-schnell', 'empty' |