Run a workflow
run_workflowRuns a published version of a workflow (the latest unless version is given), exactly like POST /v1/workflows/{id}/execute: billed and rate limited the same way. Returns output, run_id, workflow (id and version), steps, evaluations, and credits. Actions run for real.
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>",
"input": "<input>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | The input object, matching the workflow's (or node's) input schema. | |
| version | No | A published version (default: the latest). | |
| workflow_id | Yes | A workflow ID, like wf_… | |
| idempotency_key | No | Retries with the same key return the first run instead of running again (24 hours). |