open_template_model
Reads the data model from a closed Power BI template (.pbit) file, returning tables, measures, and relationships without Power BI Desktop.
Instructions
Read the model of a closed .pbit template's DataModelSchema on disk, with no Power BI Desktop and no engine: returns each table with its columns (name + data type + key properties) and measures (name + DAX expression + display folder), plus the relationships (from/to). A .pbit that has no DataModelSchema part (a live-connection or PBIR-only template) comes back ok:false with a clear note.
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": {
"pbitPath": "<pbitPath>"
},
"name": "open_template_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pbitPath | Yes | path to the closed .pbit template |