compare_preview
Renders a chart with real Power BI model data at the reference aspect ratio, returning side-by-side reference and render images, critique, and a structural diff to verify visual fidelity.
Instructions
Render with real model data at the reference aspect ratio and return reference/render side by side, critique and a structural diff. The calling agent may supply reference_structure; semantic reference properties otherwise remain unknown. Writes no report.
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": {
"connectionId": "<connectionId>",
"spec": "<spec>",
"bindings": "<bindings>",
"reference_image": "<reference_image>"
},
"name": "compare_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| maxRows | No | ||
| bindings | Yes | ||
| reportDir | No | ||
| connectionId | Yes | ||
| reference_image | Yes | ||
| reference_structure | No |