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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | ||
| pipeline_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |