dbt-get-source
Retrieve a single dbt source's freshness criteria, columns, and latest freshness result from sources.json by unique ID or source and table names.
Instructions
Get a single dbt source: freshness criteria, columns, latest freshness result from sources.json
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dbt-get-source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uniqueId | No | dbt unique_id (e.g. 'source.proj.raw.users') | |
| tableName | No | Source table name (with sourceName) | |
| sourceName | No | Source group name (with tableName) | |
| 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. |