set_visual_z_order
Set a visual's z-order explicitly to control stacking in Power BI reports. Updates both container and layout config so the order persists, with higher z on top.
Instructions
Set a visual's z (stack) order explicitly. Updates BOTH the container z and the config layouts position so the order sticks. Higher z renders on top.
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>",
"z": "<z>"
},
"name": "set_visual_z_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z | Yes | z order (higher = on top) | |
| page | Yes | page name or displayName | |
| visual | Yes | visual name | |
| reportSessionId | Yes |