comfy_export_workflow
Serialize ComfyUI workflows into a formatted JSON string. Use this to save, share, or transfer workflow configurations.
Instructions
Export/serialize a workflow to JSON string.
Simply returns the workflow formatted nicely as JSON string.
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": {
"workflow": "<workflow>"
},
"name": "comfy_export_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |