Run a published workflow
run_workflowRun one published workflow after reviewing it with workflow_details. Pass the definition_hash you reviewed; a changed workflow is refused. Ask for a task (params.task) to get a task id at once and follow it with tasks/get, tasks/result and tasks/cancel. Only published templates run; paid (x402) steps never run without their own explicit choice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Declared product input fields, when the workflow has them. | |
| template_id | Yes | Published workflow id from search_workflows. | |
| definition_hash | Yes | definition_hash returned by workflow_details for the version you reviewed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| text | Yes | ||
| intent | No | ||
| status | No | ||
| visitor | No | ||
| execution | No | ||
| recommendations | No |