diff_pages
Compare two slides pixel-by-pixel to identify visual differences. Returns a normalized mismatch ratio and a diff image showing changed regions.
Instructions
Render two slides and report their pixel difference. (2 expensive calls.)
Renders both pages, computes a normalized mismatch ratio in [0, 1] (0 = pixel identical), and returns a visual diff image highlighting changed regions. Useful to verify a duplicated/edited slide matches the showcase original.
Returns a text summary followed by the diff PNG.
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": {
"presentation_id": "<presentation_id>",
"page_a": "<page_a>",
"page_b": "<page_b>"
},
"name": "diff_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| page_a | Yes | ||
| page_b | Yes | ||
| size | No | LARGE, MEDIUM, or SMALL | MEDIUM |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |