Image Sync
image_syncChecks whether catalog image files exist in Anki collection.media and, when apply is enabled, transactionally copies missing namespaced files while skipping noise entries by default.
Instructions
Check consistency between a catalog and Anki collection.media. If apply=True, executes transactional copying of missing files (under their namespaced name) to collection.media, skipping noise entries unless copy_noise=True.
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": {
"catalog_path": "<catalog_path>"
},
"name": "image_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | ||
| copy_noise | No | ||
| catalog_path | Yes | ||
| only_filenames | No | ||
| collection_media_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||