dbt_run
Execute dbt models to transform data and build analytical tables in the data warehouse. Use to refresh data or implement new data transformations in a project, returning command output as text.
Instructions
Run dbt models. An AI agent should use this tool when it needs to execute dbt models to transform data and build analytical tables in the data warehouse. This is essential for refreshing data or implementing new data transformations in a project.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exclude | No | Models to exclude | |
full_refresh | No | Whether to perform a full refresh | |
models | No | Specific models to run, using the dbt selection syntax (e.g., "model_name+") | |
profiles_dir | No | Directory containing the profiles.yml file (defaults to project_dir if not specified) | |
project_dir | No | ABSOLUTE PATH to the directory containing the dbt project (e.g. '/Users/username/projects/dbt_project' not '.') | . |
selector | No | Named selector to use |