Run workflow
run_workflowRun a workflow. inputs fills its form (see list_workflows): text and choice values as strings, media
as one asset id, public https URL or data: URI each. Credits are the sum of its steps; the run reports estimate and actual. With
wait=false (default) it returns the queued run with its id; with wait=true it polls up to timeout_s
(max 600) and returns the run with outputs (output name -> assets). Runs with video take minutes.
item (an item id, slug or @slug in project; see list_items) records the run as a new take of that item;
the take is not starred automatically (review with list_takes, keep with star_take).
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": {
"slug": "<slug>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | ||
| slug | Yes | ||
| wait | No | ||
| inputs | No | ||
| project | No | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||