Workflows: export
workflows_exportExport a workflow's definition as JSON—triggers, steps, parameters, and on_success/on_failure links—to back up or copy it. Check with the user first.
Instructions
Export an existing workflow to JSON (round-trippable with seed). Gives the workflow's definition as JSON with no ids: its triggers, and its steps with their parameters, linked by step key through on_success/on_failure. Use it to back up or copy a workflow; for the ids the step tools need, use workflows_get. It changes or deletes existing data, so check with the user before running it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Workflow ID to export. Find it with workflows_list. | |
| output | No | Write to FILE instead of stdout |