set_visual_background
Set a Power BI visual's background by specifying color, visibility, and transparency (0=opaque, 100=fully transparent).
Instructions
Set a visual's BACKGROUND (typed convenience over set_visual_format). show/color/transparency all optional. transparency 0 = opaque, 100 = fully transparent (an OVERLAY background, which clear_visual_styling preserves).
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>",
"page": "<page>",
"visual": "<visual>"
},
"name": "set_visual_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| show | No | ||
| color | No | hex colour e.g. #FFFFFF | |
| visual | Yes | ||
| transparency | No | 0 = opaque, 100 = fully transparent | |
| reportSessionId | Yes |