scan_photos
Recursively scans a local photo directory to generate metadata, fingerprints, and duplicate or corrupted-file lists; optionally creates thumbnails.
Instructions
递归扫描本地图片目录,生成元数据、指纹与重复/损坏清单;可同时生成缩略图。
:param source_dir: 已克隆到电脑的图片目录。 :param thumbs_dir: 缩略图输出目录;留空则不生成缩略图。 :param max_side: 缩略图最长边像素。 :param config_path: 可选 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": {
"source_dir": "<source_dir>"
},
"name": "scan_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_side | No | ||
| source_dir | Yes | ||
| thumbs_dir | No | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |