query_table
Read paginated Tdarr UI tables with server-side filtering, sorting, and paging; inspect transcode queues, successes, errors, or health-check results without modifying data.
Instructions
Read one of the paginated tables behind the Tdarr UI (POST /api/v2/client/{client_type}) with server-side filtering, sorting and paging. Read-only: opts only accepts table, property, fileMedium, detail, dbID, csv; the bulk-write options of this endpoint (setAll, updatedObj, applyToAllStaged, verdict) are rejected unless the server is started with TDARR_ALLOW_DESTRUCTIVE=true. The valid client_type and opts.table values are the ones the Tdarr UI uses for that page. Prefer search_files for plain file lookups.
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": {
"client_type": "<client_type>"
},
"name": "query_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opts | No | Endpoint-specific options, e.g. { table: 'table1', dbID: '<libraryId>' }. 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. | |
| sorts | No | Sort order, e.g. [{ id: 'file_size', desc: true }] | |
| start | No | Row offset (default 0) | |
| filters | No | Column filters, e.g. [{ id: 'file', value: 'Movie' }] | |
| page_size | No | Rows per page (default 25) | |
| client_type | Yes | The client endpoint segment, i.e. the UI table being queried |