Run a pipeline
adsoptimiser_run_pipelineStart an ad generation pipeline from a template ID or saved graph to create images and videos, returning a run ID and estimated provider cost.
Instructions
Start a pipeline run from a template_id or a saved graph_id. Each generation step uses plan allowance like a single job (video steps also count toward the daily video quota). Returns the run id and an estimated provider cost; check progress with adsoptimiser_get_pipeline_run.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "adsoptimiser_run_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | The run prompt. Required unless every step gets its prompt elsewhere. | |
| graph_id | No | A saved pipeline id from adsoptimiser_list_pipelines. | |
| template_id | No | A template id from adsoptimiser_list_pipelines, for example product-ad. |