Run a workflow
run_workflowStart a published workflow with input data. The first call returns a preview and confirmation token; after approval, poll get_workflow_run for the outcome.
Instructions
Start a run of a published workflow with an input object. Workflows can call people, send messages or call webhooks, so this needs the user's confirmation: the first call returns a preview and a confirm_token. Poll get_workflow_run for the outcome.
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 |
|---|---|---|---|
| input | No | The run's input (the workflow's trigger data). | |
| workflow_id | Yes | ||
| confirm_token | No | From the preview; send only after the user agreed. |