find_duplicates
Starts Tdarr duplicate detection asynchronously, supporting metadata comparison or sha256 content hashing to identify duplicate media files in libraries.
Instructions
Start Tdarr's duplicate detection (POST /api/v2/find-duplicates). 'metadata' compares stream metadata and is fast; 'sha256' hashes file content and is accurate but slow — with sha256, hash_amount controls how much of each file is read. Runs asynchronously; stop it with stop_find_duplicates.
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": {
"threshold": "<threshold>",
"count": "<count>"
},
"name": "find_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Minimum number of matching files to report a group | |
| threshold | Yes | Similarity threshold above which two files count as duplicates | |
| hash_amount | No | How much of each file to hash, for detection_method 'sha256' | |
| detection_method | No | Detection method (default is the server's own default) |