report_set_theme
Applies a custom Power BI JSON theme to a report and registers it in definition/report.json, enabling consistent report styling from a .pbip project.
Instructions
Apply a custom Power BI JSON theme to the report and register it in definition/report.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>",
"themeName": "<themeName>",
"theme": "<theme>"
},
"name": "report_set_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | Power BI theme JSON object (e.g. { dataColors: [...], background: '#FFFFFF', foreground: '#222222' }) | |
| themeName | Yes | Theme name (e.g. CorporateBlue) | |
| projectPath | Yes | Path to the .pbip file or project root folder |