backup_vault
Create a git commit snapshot of a vault's current state to back up changes. Optionally specify a vault name; if omitted, all vaults are backed up.
Instructions
Create a git commit snapshot of a vault's current state.
Use this tool when the user asks to back up, sync, or save the current state of their knowledge base vault. Runs git add -A && git commit with a conventional commit message containing a timestamp.
If vault_name is provided, backs up only that vault. If omitted, backs up all vaults.
If the vault directory is not a git repository, it will be initialized automatically. If there are no changes to commit, returns a 'no_changes' status rather than an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_name | No | Name of the vault to back up. Omit to back up all vaults. |