save_workflow_template
Save a ComfyUI workflow as a named template for later use. Prevent accidental overwrites with an optional overwrite flag.
Instructions
Save a ComfyUI workflow JSON to the server's template registry under a named slot. Overwrites are disabled by default.
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": {
"name": "<name>",
"workflow": "<workflow>"
},
"name": "save_workflow_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template name. Letters, digits, '-', '_'; max 64 chars. Must start alphanumeric. | |
| workflow | Yes | Complete ComfyUI workflow JSON (from ComfyUI's 'Save (API Format)'). | |
| description | No | ||
| overwrite | No | Allow overwriting an existing template with the same name. |