set_theme_text_class
Merge or set a theme text class in Power BI reports, adjusting font face, size, or color while preserving other properties. Must run generate_theme first.
Instructions
Set/merge one theme TEXT CLASS: class = callout|title|header|label or a secondary class (largeTitle|semiboldLabel|largeLabel|smallLabel|lightLabel|boldLabel|largeLightLabel|smallLightLabel). Any subset of fontFace / fontSize / color. Merges - untouched props are kept. Run generate_theme first.
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": {
"reportSessionId": "<reportSessionId>",
"textClass": "<textClass>"
},
"name": "set_theme_text_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | colour hex | |
| fontFace | No | font face, e.g. Segoe UI Semibold | |
| fontSize | No | font size in pt | |
| textClass | Yes | the text class name | |
| reportSessionId | Yes |