trigger_pipeline
Start a dbt pipeline run by ID and optionally wait for completion, returning the run status or timeout result.
Instructions
Trigger a pipeline run (dbt build/run/test).
Write tool: available only when this session was granted write access — the local server's --allow-write flag, or an OAuth consent in which the user approved write. Read-only sessions refuse it.
Args:
pipeline_id: The pipeline to run.
wait: If true, block until the run completes (up to 120s). The result
is returned either way -- a run that FAILED comes back as
{"status": "failed", "error_message": ...}, not as an error.
Check status; do not assume a returned result means success.
A wait that times out returns {"timed_out": true} with the run
still going.
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": {
"pipeline_id": "<pipeline_id>"
},
"name": "trigger_pipeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| pipeline_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |