search_templates
Search for workflow templates by keyword from an online official catalog or your installed templates, then fetch and adapt them for your ComfyUI projects.
Instructions
Search known-good workflow templates to adapt (few-shot beats zero-shot).
source="online" (default): the OFFICIAL open catalog on GitHub (Comfy-Org/workflow_templates) — the same ~550-template set the Cloud MCP's search is built from. You do NOT need these installed; they're browsed straight from the repo. Matches keyword against name + title + description.
source="installed": only templates on THIS ComfyUI right now (/api/workflow_templates — every installed pack's example workflows). Smaller, but guaranteed runnable on your install without adding anything.
Then fetch one with get_template. Note an online template may reference nodes/ models you haven't installed — reconcile against object_info before running.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | online | |
| keyword | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |