generate_pbip
Generate a text-based PBIP project from a live semantic model and a source PBIX report, producing .SemanticModel, .Report, and .pbip files that open in Power BI Desktop/Fabric without a live engine.
Instructions
Generate a complete text-based PBIP project from the live model + a source pbix's report: .SemanticModel (TMDL via the official serializer) + .Report (legacy report.json + definition.pbir + StaticResources) + .pbip. Pure files - Power BI Desktop / Fabric open it directly, NO live engine needed to author. This is the spine that gets the whole tool off the live-Desktop dependency.
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>",
"sourcePbixPath": "<sourcePbixPath>",
"outputFolder": "<outputFolder>",
"name": "<name>"
},
"name": "generate_pbip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | project name (used for the .pbip / .SemanticModel / .Report folder names) | |
| sessionId | Yes | ||
| includeData | No | also back the model up to cache.abf so the project opens WITH data (no manual refresh). Bigger output. Default false. | |
| outputFolder | Yes | output folder for the project (created/overwritten) | |
| sourcePbixPath | Yes | source .pbix to take the report (Report/Layout + StaticResources) from |