set_image_source
Repoints an existing image in a Power BI Report Builder report to a different embedded image entry without deleting and re-adding. Refuses if the target embedded image doesn't exist.
Instructions
Repoint an existing at a different embedded image entry without delete-and-readd. Sets Source=Embedded and rewrites to embedded_name. Refuses with a clear error if embedded_name isn't in — leaving a dangling reference would render as a broken image. Add the image first via add_embedded_image. Idempotent: same (Source, Value) pair → {changed: false}, no save. Returns {name, kind, changed: bool}.
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": {
"path": "<path>",
"image_name": "<image_name>",
"embedded_name": "<embedded_name>"
},
"name": "set_image_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| image_name | Yes | ||
| embedded_name | Yes |