dbt-get-macro
Retrieve a dbt macro's signature and raw SQL, and find which nodes call it.
Instructions
Get a dbt macro: signature, raw SQL, and reverse-lookup of nodes that call it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Macro name (resolved if uniqueId not provided) | |
| uniqueId | No | dbt unique_id (e.g. 'macro.proj.my_macro') | |
| extractFields | No | Comma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response tokens dramatically on large entities. |