pressable_list_backups
Retrieve a list of available backups for a WordPress site to restore previous versions or recover data.
Instructions
Get a list of backups for a specific site.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Implementation Reference
- tools/backups.js:12-14 (handler)The handler function for 'pressable_list_backups' which calls the API to list backups for a site.
handler: async (args) => { return await api.get(`/sites/${args.id}/backups`); } - tools/backups.js:7-11 (schema)The input schema for 'pressable_list_backups'.
inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] }, - tools/backups.js:4-15 (registration)The registration object for 'pressable_list_backups'.
{ name: 'pressable_list_backups', description: 'Get a list of backups for a specific site.', inputSchema: { type: 'object', properties: { id: { type: 'string' } }, required: ['id'] }, handler: async (args) => { return await api.get(`/sites/${args.id}/backups`); } },