Skip to content

Find a model by fuzzy name

Outcome

You have a ranked list of matching dbt resources with scores and reasons, plus a unique_id to use in follow-up commands.

When to use this

SurfaceUse when
CLIScripts, agents, or shell—especially with --json
MCPMany lookups over the same run without re-parsing each time
WebVisual discover workspace with the same ranking contract

Steps

  1. Run discover with a partial name, typo, or token like type:model.
  2. Read the top match unique_id from JSON output.
  3. Use that id in explain, deps, or open the web UI for deeper views.

Example

bash
dbt-tools discover --dbt-target ./target "orders" --json
dbt-tools discover --dbt-target ./target "type:model" --limit 30 --json

Next

Released under the repository license terms.