Compute a file checksum
compute_file_checksumComputes a file's MD5 or SHA-256 checksum and size so you can verify copies or compare files for identical content.
Instructions
Compute the MD5 or SHA-256 checksum of a file's bytes, with its size. Two files with the same checksum have identical content whatever their names, so use it to confirm a copy or to compare two candidates. Returns path, algorithm, checksum (hex), size_bytes and elapsed_ms. To search a whole folder for duplicates use find_duplicate_media_files. Works on files on disk; needs neither Premiere Pro nor ffmpeg.
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": {
"path": "<path>"
},
"name": "compute_file_checksum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the file. | |
| algorithm | No | "sha256" (default) or "md5" (faster, fine for spotting duplicates). |