Find media references
find-media-referencesScans Anki note fields, card template HTML, and note-type CSS to find exact references to a media filename, returning a fingerprint for safe deletion when the scan is complete.
Instructions
Scans note fields, Card Template HTML, and note-type CSS for exact references to one Anki media filename. Complete scans return a fingerprint for safe deletion. CSS parsing failures are reported separately and make counts incomplete; no fingerprint is issued.
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": {
"filename": "<filename>"
},
"name": "find-media-references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Portable filename inside Anki's flat collection.media folder |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | Yes |