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.
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": "backup_vault"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_name | No | Name of the vault to back up. Omit to back up all vaults. |