Scan a folder of footage
scan_folderProbe every media file in a folder, optionally including subfolders, to build a footage log of duration, resolution, fps, codec, HDR, audio and size per clip with totals and optional CSV export.
Instructions
Probe every media file in a folder (optionally recursive) and return a footage log: duration, resolution, fps, codec, HDR, audio and size per clip, plus totals and a breakdown by format. Optionally writes the log as CSV. Good for logging a camera card or a client's dump of clips.
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": {
"folder": "<folder>"
},
"name": "scan_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Absolute folder path. | |
| max_files | No | ||
| overwrite | No | ||
| recursive | No | ||
| extensions | No | File extensions to include (default: .mp4 .mov .m4v .mkv .webm .avi .mxf .mts .m2ts .3gp .wav .mp3 .m4a .aac .flac). | |
| csv_output_path | No | If set, also write the log to this CSV file. |