validate_wireframe
Detect visual layout problems in Power BI wireframes—overlaps, off-canvas elements, tiny sizes, z-order anomalies—and get margin/gap statistics. Works from report or PBIR sessions.
Instructions
READ-ONLY layout lint over visual positions + page size (no fixes applied): visual OVERLAP pairs, OFF-CANVAS placement (negative or beyond the page bounds), tiny/zero-size visuals, z-order anomalies (a data visual rendering ABOVE an overlapping slicer), plus margin/gap statistics per page. Every violation names the existing fixer tool (auto_arrange / align_visuals / tidy_slicer_layout_v2 / move_visual / resize_visual / set_visual_z_order). Accepts a LEGACY reportSessionId (from open_report) OR a PBIR pbirSessionId (from read_pbir) - the same shared geometry checker runs over both readers.
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>"
},
"name": "validate_wireframe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageName | No | one page (name or displayName); omit for every page | |
| reportSessionId | Yes | a reportSessionId (open_report) or pbirSessionId (read_pbir) |