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. To get a task id at once, put "task": {} in the tools/call params next to "name" and "arguments" (not inside arguments), then follow it with tasks/get, tasks/result and tasks/cancel. Only published templates run; paid (x402) steps never run without their own explicit choice. Ads: one "Advertisement" in a separate sponsored array, also in _meta["biz.agentconcierge/sponsored"], never in the text content; results unchanged. Ads: a successful free result carries one advertisement as an object in _meta["biz.agentconcierge/advertisement"], never in the content; it never changes the output and cannot be turned off.
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": {
"template_id": "<template_id>",
"definition_hash": "<definition_hash>"
},
"name": "run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Declared product input fields, when the workflow has them; omit it or send {} when it has none. | |
| 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 | Session transport only; never put it in answer text. | |
| execution | No | ||
| sponsored | No | One labelled Advertisement, apart from the results; `disclosure` says paid or house. It does not affect ranking, selection or test results. | |
| direct_only | No | Not run by this gateway; not a recommendation. | |
| recommendations | No |