requeue_files
Requeues every file in a Tdarr library for transcoding or health checking, moving selected status-table entries back to the processing queue.
Instructions
Requeue every file of a library for transcoding or health checking (POST /api/v2/set-all-status). Tdarr's file tables are table1 transcode queue, table2 transcode success, table3 transcode error, table4 health check queue, table5 health check success, table6 health check error — requeueing from table2 back to the transcode queue re-runs the whole 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": {
"library_id": "<library_id>",
"table": "<table>",
"mode": "<mode>",
"process_status": "<process_status>"
},
"name": "requeue_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Requeue mode as used by the Tdarr UI, e.g. 'transcode' or 'health' | |
| table | Yes | Source table, e.g. 'table2' for previously transcoded files | |
| library_id | Yes | Library ID (dbID), from list_libraries | |
| process_status | Yes | Status to set on the files, e.g. 'Queued' to put them back in the queue |