set_visual_position
Set a visual's position and size in Power BI, updating both container and configuration so changes persist. Optionally specify x, y, width, height.
Instructions
Set a visual's POSITION/size. Updates BOTH the visualContainer x/y/width/height AND the config layouts[0].position so the move sticks. All of x/y/width/height optional.
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>"
},
"name": "set_visual_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| page | Yes | ||
| width | No | ||
| height | No | ||
| visual | Yes | ||
| reportSessionId | Yes |