caddy_backup_list
List available Caddy binary backups in a directory and show backup names so you can choose which one to restore.
Instructions
Manage Caddy binary backups (backup, restore, list)
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": "caddy_backup_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: backup current binary, restore from backup, or list backups | |
| backup_dir | No | Directory containing backups | /opt/caddy/backups |
| caddy_binary | No | Path to Caddy binary to backup or restore to | /usr/bin/caddy |
| restore_name | No | Name of backup to restore (required for restore action) |