delete_old_backups
Remove outdated backup versions in Obsidian vaults, keeping only the most recent per note to free up space.
Instructions
Delete old backups, keeping only the most recent ones per note.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_old_backups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, only report what would be deleted without actually deleting | |
| keepLast | No | Number of recent backups to keep per note (default: 5) | |
| backupFolder | No | Folder where backups are stored (default: .backups) | .backups |