whm_backup_list
List available backups for a specified WHM account to verify backup status and plan restores.
Instructions
List available backups on the WHM server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account alias from accounts.json (use list_accounts to see options) |
Implementation Reference
- src/tools.py:270-278 (registration)Tool registration for whm_backup_list. Defines the name 'whm_backup_list', description 'List available backups on the WHM server', and input schema requiring only the 'account' parameter.
Tool( name="whm_backup_list", description="List available backups on the WHM server", inputSchema={ "type": "object", "properties": ACCOUNT_PARAM, "required": ["account"] } ), - src/tools.py:508-509 (handler)Handler for whm_backup_list tool. Makes a GET request to the WHM JSON API endpoint 'backup_set_up_config' to retrieve backup configuration/listing data.
case "whm_backup_list": return await _get(client, url("backup_set_up_config"), headers)