Open the same context in the browser
Outcome
A web_url from CLI JSON opens the web UI on the same discover query or resource you analyzed in the terminal.
When to use this
| Surface | Use when |
|---|---|
| CLI | You already ran discover or explain and want a shareable browser view |
| MCP | Skip—use CLI for handoff URLs or open the web app manually |
| Web | Destination of the deep link |
Steps
- Start
dbt-tools-web, exportDBT_TOOLS_WEB_BASE_URLto its origin (deep links). - Run
discoverorexplainwith--json. - Copy
web_urlfrom the JSON payload into a browser (or follow the human “Open in web” line).
Example
bash
export DBT_TOOLS_WEB_BASE_URL=http://127.0.0.1:5173
dbt-tools discover --dbt-target ./target "orders" --json
dbt-tools explain model.my_project.orders --dbt-target ./target --json