Manage Database
manage_databaseBack up, restore, audit, and merge SQLite databases while syncing state memory with Git branches to ensure data integrity and resolve workflow conflicts.
Instructions
Physical SQLite database maintenance, backups, integrity checks, and Git VCS state sync. Supported actions: backup (online SQLite backup), restore (destructive restore from backup), audit (foreign keys and physical integrity check), merge (merge external SQLite state DB), branch_diff (diff state nodes across git branches), branch_merge (resolve graph conflicts during branch merge).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force overwrite during restore or merge. | |
| action | No | The database administration or VCS sync action to execute. | |
| project | No | Target project name or slug. | |
| backupPath | No | Source backup file path for restore. | |
| outputPath | No | Target destination file path for backup. | |
| sourcePath | No | Source SQLite database path for merge. | |
| source_branch | No | Source git branch for branch_merge. | |
| target_branch | No | Target git branch to compare or merge against. | |
| resolution_strategy | No | Conflict resolution strategy for branch_merge. |