Manage Workflow
manage_workflowChange workflows. create saves one; duplicate copies one without touching the source; install adds a system workflow to the workspace; schedule turns its schedule on or off; execute runs it and spends credits, so inspect it first with find_workflows; create_ad_remix and create_instagram_remix build a remix workflow from a source ad or Instagram post.
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": {
"action": "<action>",
"input": "<input>"
},
"name": "manage_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The fields of the chosen action. | |
| action | Yes | create: Create a workflow: direct graph, a recurring scaffold, or natural-language generation. duplicate: Copy a workflow into this organization/brand for editing or scheduling; source unchanged. install: Install an official workflow as an editable/schedulable organization copy. schedule: Enable/disable/update an editable workflow copy's schedule. execute: Run a workflow now. create_ad_remix: Create a draft, review-only ad remix workflow from a selected public or connected ad. create_instagram_remix: Create a review-only draft remix workflow from a public Instagram pattern for this brand. | |
| organization | No | Organization this call acts in: its name, slug or id from get_context(action=organizations). Required when the connection covers several organizations (a call without it is refused with the list of organizations and their brands); a connection limited to one organization works inside it, so leave this argument out there (naming any organization is refused). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| message | No |