Run a workflow
run_workflowRun a workflow once, as it is now, like the editor's Run button. Runs cost money and can send messages or change things in connected apps, so: call it first without approved to get the cost and the inputs it would use, tell the person, and only call again with approved: true after they say yes. Returns a run_id; then call get_run every 15 seconds or so until done is true.
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": {
"workflow_id": "<workflow_id>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Start input values keyed by input name (see get_workflow start_inputs). Inputs left out use their example value. | |
| approved | No | true only after the person has agreed to this run and its cost. | |
| workflow_id | Yes | The workflow to run. |