import_tmdl
Import a TMDL folder into a live model. Defaults to a dry-run that returns table/measure diff without changes; set applyToLiveModel:true to apply as createOrReplace.
Instructions
Import a TMDL folder (the official deserializer) into the live model. DEFAULTS TO A DRY RUN that returns the table/measure diff and changes NOTHING. Applying TMDL REPLACES the live model metadata (createOrReplace semantics), so the actual apply is gated behind applyToLiveModel:true. The folder may be a model TMDL folder or a PBIP SemanticModel (the nested 'definition' subfolder is auto-detected).
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": {
"sessionId": "<sessionId>",
"folderPath": "<folderPath>"
},
"name": "import_tmdl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ||
| folderPath | Yes | path to the TMDL folder (or a PBIP .SemanticModel folder) | |
| applyToLiveModel | No | APPLY the TMDL to the live model (createOrReplace). Default false = dry-run diff only. |