set_visual_visibility
Show or hide visuals in Power BI reports to tailor what users see. Specify the page and visual name to toggle its display state directly.
Instructions
Show or hide a visual in the base layout (display.mode). Use list_visuals to get names.
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>",
"visualName": "<visualName>",
"hidden": "<hidden>"
},
"name": "set_visual_visibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hidden | Yes | ||
| pageName | Yes | ||
| visualName | Yes | ||
| reportSessionId | Yes |