图片对比
compare_imagesCompare two images to identify similarities and differences, with an optional focus prompt for targeted visual analysis. Use it to spot changes, verify matches, or review visual variations.
Instructions
对比两张图片的相同与不同之处,可附带关注点。
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": {
"sourceA": "<sourceA>",
"sourceB": "<sourceB>"
},
"name": "compare_images"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | 临时指定模型 id(默认 gpt-5-6;可用 VISION_MODEL 环境变量改全局默认) | |
| prompt | No | 对比时特别关注的方面 | |
| sourceA | Yes | 图片来源:本地文件路径、http(s) 图片 URL、data:image/...;base64,... 数据 URL,或裸 base64 | |
| sourceB | Yes | 第二张图片来源 |