invokeai_workflows
Manage InvokeAI node workflows: list, get, save, and delete stored workflow artifacts. Provides CRUD operations for the workflow library.
Instructions
Manage InvokeAI node workflows (list, get, save, delete).
[RATIONALE] Workflows are stored artifacts in a single store; CRUD plus export share this portmanteau. Running a workflow graph goes through invokeai_generate or a raw enqueue - this tool manages the stored workflow library.
Return Format
{"success": bool, "operation": str, "data": {...}, "message": str}
Examples
invokeai_workflows(operation="list") invokeai_workflows(operation="get", workflow_id="wf-uuid") invokeai_workflows(operation="save", workflow_json='{"nodes": {...}}')
Notes:
workflow_json must be a full InvokeAI workflow object (id, nodes, edges).
Save with an existing id updates; without one, creates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max workflows to list. | |
| offset | No | Pagination offset. | |
| operation | Yes | Workflow operation to perform. | |
| workflow_id | No | Workflow id (required for get, delete). | |
| workflow_json | No | Raw workflow JSON string (required for save). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||