sharp_visual_diff
Compares before and after images to detect visual changes and writes an optional diff image.
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": {
"before_path": "<before_path>",
"after_path": "<after_path>"
},
"name": "sharp_visual_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | ||
| after_path | Yes | ||
| before_path | Yes | ||
| diff_out_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |