ta_maintenance
Preview or perform Tube Archivist maintenance: create/restore snapshots and ZIP backups, rescan files, or import manually; writes require confirm and writes enabled.
Instructions
Snapshots, zip backups, filesystem rescan, and manual import. Writes run only when confirm is true and TUBEARCHIVIST_ALLOW_WRITES=true. Otherwise the call is a dry-run and no HTTP write is sent. Actions: snapshots (GET /api/appsettings/snapshot/), snapshot_create (POST /api/appsettings/snapshot/), snapshot_get (GET /api/appsettings/snapshot/{snapshot_id}/), snapshot_restore (POST /api/appsettings/snapshot/{snapshot_id}/), snapshot_delete (DELETE /api/appsettings/snapshot/{snapshot_id}/), backups (GET /api/appsettings/backup/), backup_create (POST /api/appsettings/backup/), backup_get (GET /api/appsettings/backup/{filename}/), backup_restore (POST /api/appsettings/backup/{filename}/), backup_delete (DELETE /api/appsettings/backup/{filename}/), rescan (POST /api/appsettings/rescan-filesystem/), import (POST /api/appsettings/manual-import/).
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": {
"action": "<action>"
},
"name": "ta_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Tube Archivist operation to call. | |
| confirm | No | Boolean true runs the write when TUBEARCHIVIST_ALLOW_WRITES is true. Omit it or pass false for a dry-run preview that sends nothing. The string true is rejected. | |
| document | No | document | |
| filename | No | filename | |
| snapshot_id | No | snapshot_id |