pbi_export_active_theme
Exports the active theme JSON from a Power BI report extract to a file, allowing you to capture the baseline theme before customizing it.
Instructions
Export the currently active theme JSON from an extracted report.
Writes a copy of the theme referenced by activeTheme (or the
last entry in themeCollection) to output_path. Useful for
capturing the baseline theme before customising it.
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": {
"extract_folder": "<extract_folder>",
"output_path": "<output_path>"
},
"name": "pbi_export_active_theme"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | ||
| extract_folder | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |