find_similar_in_folder
Scan a folder and rank images by visual similarity to a reference image using mathematical feature comparison.
Instructions
Find visually similar images in a folder.
Scans all images and ranks them by visual similarity to the query. Similarity is based on mathematical features, not semantic content.
Args: query_image: Path to the reference image folder_path: Folder to search top_k: Number of results (1-20) feature: Feature for comparison - "JCD", "CEDD", "ColorHistogram", etc.
Returns: Ranked list of similar images with scores.
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": {
"query_image": "<query_image>",
"folder_path": "<folder_path>"
},
"name": "find_similar_in_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_image | Yes | ||
| folder_path | Yes | ||
| top_k | No | ||
| feature | No | JCD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |