delete_backup
Permanently remove a saved Spotify library backup file and its metadata from the backup directory. Preview first with dry run; deletion is irreversible and requires confirmation.
Instructions
Delete one library backup file (and its metadata sidecar) from SPOTIFY_MCP_BACKUP_DIR. Irreversible — the library rows in the file cannot be recovered from anywhere else. Destructive and confirmation-gated: dry_run defaults to true, and executing is refused when the client cannot prompt (SPOTIFY_MCP_CONFIRM=never bypasses). Paths outside the backup directory are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Backup file name (e.g. backup-2026-01-02-1.json) or a path inside the backup directory | |
| dry_run | No | Preview only, and the default: pass dry_run: false to delete the snapshot. | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |