comfy_import_workflow
Parse JSON strings into validated workflow dicts for ComfyUI, ensuring the structure is correct before execution.
Instructions
Parse a JSON string into a workflow dict.
Parses the JSON string and validates basic structure. Returns the parsed workflow dict as JSON.
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_json": "<workflow_json>"
},
"name": "comfy_import_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |