rescan_file
Refresh Tdarr's ffProbe data and queue status for a single file after changing it on disk outside Tdarr. Use it to sync file metadata and job state.
Instructions
Rescan a single file so Tdarr refreshes its ffProbe data and queue status (POST /api/v2/rescan-file). Use it after changing a file on disk outside Tdarr.
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_id": "<file_id>",
"library_id": "<library_id>"
},
"name": "rescan_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | File ID (full path), from search_files | |
| library_id | Yes | Library ID (dbID) the file belongs to |