scan_file_details
Run ExifTool, MediaInfo, or closed-caption scans on one readable file path and return the results, including files outside a Tdarr library.
Instructions
Run ExifTool, MediaInfo and/or a closed-caption scan against one file and return the results (POST /api/v2/scan-individual-file). Works on any path the server can read, whether or not it is in a library.
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": {
"file_path": "<file_path>"
},
"name": "scan_file_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exiftool | No | Run an ExifTool scan (default true) | |
| file_path | Yes | Full file path, as Tdarr Server sees it | |
| mediainfo | No | Run a MediaInfo scan (default true) | |
| closed_captions | No | Scan for closed captions (default false; this one is slow) |