get_comfyui_workflow
Extract the ComfyUI workflow embedded in a PNG image, including the full UI graph and a summary of nodes, models, and prompts; optionally return the API-format prompt graph.
Instructions
Get the ComfyUI workflow embedded in an image (PNG text chunks), if any: the full UI graph, plus a summary (node count, models, positive/negative prompts). Set include_prompt=true to also return the API-format 'prompt' graph.
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": {
"path": "<path>"
},
"name": "get_comfyui_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| include_prompt | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |