Auto Layout
pbir_auto_layoutArranges existing Power BI visuals on a page into an even equal-size grid by rows, columns, and padding. Tidies up already-placed visuals without creating new ones.
Instructions
Auto-arrange EXISTING visuals already on a page into a simple equal-size grid (evenly split by rows/cols/padding). Use this to tidy up visuals that are already placed. To PLAN AND CREATE new visuals in a precise grid (per-cell spans, bindings, validated margins/gaps) use pbir_layout_grid instead.
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": {
"pageId": "<pageId>"
},
"name": "pbir_auto_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | The page ID | |
| columns | No | ||
| padding | No | ||
| marginTop | No | ||
| marginLeft | No |