recolor_report
Recolor a Power BI report's visuals and theme in one call by providing a JSON map of old to new hex colors. It preserves each color's formatting and reports per-color replacement counts.
Instructions
Find/replace colour literals across ALL visuals and the theme in one call: colorMap = JSON {"#OLD":"#NEW", ...}. Handles both the plain theme spelling (#RRGGBB) and the quoted expr spelling ('#RRGGBB') inside visual objects, preserving each occurrence's form. Returns per-colour replacement counts; run save_report to persist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colorMap | Yes | JSON object of oldColour -> newColour hex literals | |
| reportSessionId | Yes |