report_create_page
Creates a new PBIR report page, writes page.json, and registers it in pages.json so Power BI projects gain a ready-to-edit canvas.
Instructions
Create a new PBIR report page (page.json) and register it in pages.json.
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": {
"projectPath": "<projectPath>",
"displayName": "<displayName>"
},
"name": "report_create_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Canvas width in px (default: 1280) | |
| height | No | Canvas height in px (default: 720) | |
| setActive | No | Set as the active default page | |
| displayName | Yes | Visible tab title of the page | |
| projectPath | Yes | Path to the .pbip file or project root folder | |
| displayOption | No | Page scaling mode (default: FitToPage) |