compile_transformation
Compile a dbt transformation to resolve Jinja, ref(), and source() references without running it. Use this tool to preview the final SQL before execution.
Instructions
Compile a dbt transformation — resolves Jinja, ref(), source(). No execution.
Args: transformation_id: The transformation to compile.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"transformation_id": "<transformation_id>"
},
"name": "compile_transformation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transformation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |