Find duplicate files
drive_find_duplicatesFind likely duplicate files in Proton Drive by hash or size/type, then verify candidates with SHA-256. Reports wasted space and a suggested keeper, never deleting.
Instructions
Find likely duplicates: same claimed sha1, or same size+mediaType without sha1 (candidates only). verify=true downloads and sha256s them ('verified'; writes temporary local files, removed afterwards). Reports wastedBytes and a suggested keeper; never deletes. Walk results are cached up to 5 min (refresh=true re-reads; first walk of a large drive can take minutes).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "drive_find_duplicates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder (default /my-files). | |
| limit | No | Max groups returned (default 20). | |
| verify | No | Download and hash candidates of the top groups. | |
| minSize | No | Min bytes (default 1024). | |
| refresh | No | Ignore the cached walk. | |
| maxVerifyBytes | No | Skip files larger than this (default 50000000). | |
| maxVerifyTotalBytes | No | Total download budget for verify (default 500000000). |