image_compare
Compare two images to reveal differences, returning a structured report with difference type, severity, and description.
Instructions
对比两张图片的差异。适合场景:设计稿vs实现、修改前后对比、找不同。 返回结构化的差异报告,包含差异类型、严重级别和描述。
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": {
"image_source_a": "<image_source_a>",
"image_source_b": "<image_source_b>"
},
"name": "image_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | 可选的对比重点描述,如'只关注颜色差异'或'检查布局是否一致' | |
| image_source_a | Yes | 图片A(参考图/基准图):路径/URL/Data URI | |
| image_source_b | Yes | 图片B(目标图/对比图):路径/URL/Data URI |