dbt_debug
Validate dbt project setup by troubleshooting configurations, checking database connectivity, and ensuring dependencies are installed correctly. Essential for diagnosing issues before running models or tests.
Instructions
Run dbt debug to validate the project setup. An AI agent should use this tool when it needs to troubleshoot configuration issues, check database connectivity, or verify that all project dependencies are properly installed. This is essential for diagnosing problems before attempting to run models or tests.
Returns:
Output from the dbt debug command as text (this command does not support JSON output format)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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 '.') | . |
Input Schema (JSON Schema)
{
"properties": {
"profiles_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Directory containing the profiles.yml file (defaults to project_dir if not specified)",
"title": "Profiles Dir"
},
"project_dir": {
"default": ".",
"description": "ABSOLUTE PATH to the directory containing the dbt project (e.g. '/Users/username/projects/dbt_project' not '.')",
"title": "Project Dir",
"type": "string"
}
},
"title": "dbt_debugArguments",
"type": "object"
}