list_official_templates
Retrieve official ComfyUI workflow templates from the Comfy-Org repository, synced and converted to DSL format for workflow management.
Instructions
List official ComfyUI templates.
Returns templates from the official Comfy-Org repository that have been synced and converted to DSL format.
Returns: List of official template metadata
Examples: list_official_templates()
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- comfy_mcp/mcp/server.py:577-597 (handler)The main handler function for the 'list_official_templates' MCP tool. It is decorated with @mcp.tool for automatic registration and delegates to template_manager.search_templates(source='official') to retrieve the list of official templates.@mcp.tool def list_official_templates() -> list[dict]: """List official ComfyUI templates. Returns templates from the official Comfy-Org repository that have been synced and converted to DSL format. Returns: List of official template metadata Examples: list_official_templates() """ try: # Get only official templates results = template_manager.search_templates(source="official") return results except Exception as e: raise ToolError(f"Error listing official templates: {e}")