compare_frames
Compare two flattened animation frames and get changed-pixel metrics as JSON. Use it to pinpoint visual differences between frames.
Instructions
Compare two flattened animation frames and return changed-pixel metrics as JSON.
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": {
"filename": "<filename>",
"frame_a": "<frame_a>",
"frame_b": "<frame_b>"
},
"name": "compare_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_a | Yes | ||
| frame_b | Yes | ||
| filename | Yes |