generate_dbt_artifacts
Generate a dbt project and semantic layer from an approved mapping. Verifies the approval_id belongs to the run and matches the current mapping content before building artifacts.
Instructions
Generate the dbt project and semantic layer from the reviewed mapping.
Requires `approval_id` from submit_mapping_review; the server verifies it exists, is not revoked
or expired, belongs to this run, and is bound to the current mapping content (no boolean flags).
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": {
"run_id": "<run_id>",
"approval_id": "<approval_id>"
},
"name": "generate_dbt_artifacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| approval_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| models | Yes | ||
| run_id | Yes | ||
| status | Yes | ||
| resource_uri | Yes | ||
| manifest_hash | Yes | ||
| not_generated | Yes | ||
| generated_metrics | Yes |