get_workflow
Load a saved workflow and return its raw JSON for use when enqueuing, modifying, or saving workflows.
Instructions
Load a saved workflow and return its raw JSON. Use analyze_workflow instead if you just need to understand the workflow — it returns a structured summary without flooding context with JSON. Use get_workflow only when you need the actual JSON for enqueue_workflow, modify_workflow, or save_workflow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Workflow filename (e.g. 'my_workflow.json'). Use list_workflows to see available files. | |
| format | No | Output format: 'api' (default, recommended) converts to compact API format with named inputs, connection references, and _meta.mode flags for muted/bypassed nodes. 'ui' returns the raw UI format with layout positions and links arrays. | api |