add_image
Add an image from a local path to a Power BI page, embedding it as a resource and setting position, size, and scaling to complete the report's brand kit.
Instructions
Place an image (e.g. a brand LOGO) on a page - embeds the file into the .pbix as a resource and adds an image visual. Completes the brand kit (logo IN the report, not just the palette). scaling = Fit | Fill | Normal.
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>",
"imagePath": "<imagePath>"
},
"name": "add_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | No | ||
| height | No | ||
| scaling | No | Fit | Fill | Normal | Fit |
| pageName | Yes | ||
| imagePath | Yes | path to the image file (png/jpg) | |
| reportSessionId | Yes |