Set maintenance mode
immich_set_maintenance_modePut Immich into or take it out of maintenance mode, and select or restore database backups.
Instructions
Set maintenance mode
Put Immich into or take it out of maintenance mode
Immich operation: POST /admin/maintenance · tag: Maintenance (admin)
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": "immich_set_maintenance_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | action (request body) | |
| restoreBackupFilename | No | restoreBackupFilename (request body) |