install_deps
Installs dbt packages defined in packages.yml to enable use of external macros in your dbt project.
Instructions
Install dbt packages defined in packages.yml.
This tool enables interactive workflow where an LLM can:
Suggest using a dbt package (e.g., dbt_utils)
Edit packages.yml to add the package
Run install_deps() to install it
Write code that uses the package's macros
This completes the recommendation workflow without breaking conversation flow.
When to use:
After adding/modifying packages.yml
Before using macros from external packages
When setting up a new dbt project
Package Discovery: After installation, use list_resources(resource_type="macro") to verify installed packages and discover available macros.
Returns: Installation results with status and installed packages
Example workflow: User: "Create a date dimension table" LLM: 1. Checks: list_resources(type="macro") -> no dbt_utils 2. Edits: packages.yml (adds dbt_utils package) 3. Runs: install_deps() (installs package) 4. Creates: models/date_dim.sql (uses dbt_utils.date_spine)
Note: This is an interactive development tool, not infrastructure automation. It enables the LLM to act on its own recommendations mid-conversation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||