style_page
Apply a consistent card style to every data visual on a Power BI page, setting fill, rounded corners, shadow, and optional header to create a polished, unified look.
Instructions
One-shot 'make it beautiful' pass: apply a consistent card style (fill, rounded corners, shadow, header) to every DATA visual on a page (skips textboxes/shapes). Pair with set_page_background for a clean canvas.
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>",
"pageName": "<pageName>"
},
"name": "style_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shadow | No | drop shadow on/off | |
| pageName | Yes | ||
| background | No | hex card fill e.g. #FFFFFF | #FFFFFF |
| showHeader | No | show the visual header bar | |
| borderColor | No | hex border colour e.g. #E6E9EF | #E6E9EF |
| cornerRadius | No | corner radius in px, e.g. 8 | |
| reportSessionId | Yes |