organize_workflow
Auto-layout a wired ComfyUI workflow into stage bands, colored groups, readable titles, editable-knob highlights, and guidance notes before saving.
Instructions
THE finishing step: auto-layout into pipeline stage bands, colored groups,
human titles, green highlights on user-editable knobs, and markdown guidance
notes (model-family aware, two registers: 'touch this' vs 'leave alone').
Run after wiring, before save_workflow; replaces a hand-made layout. Idempotent.
layout="panel" groups Controls (what you edit) | Pipeline | Unconnected.
MUTATES the session workflow in place; applied summarizes the changes.
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_id": "<workflow_id>"
},
"name": "organize_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | pipeline | |
| workflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||