maintenance_vacuum
Reclaim disk space after large purge operations by running VACUUM on local SQLite databases. Frees unused page allocations to reduce file size and provides maintenance guidance for remote Supabase backends.
Instructions
Reclaim disk space after large purge operations by running VACUUM on the local SQLite database.
Best called after deep_storage_purge removes many entries — SQLite reclaims page allocations only when explicitly vacuumed, so the file size stays the same until you call this tool.
For remote (Supabase) backends, returns guidance on triggering maintenance via the dashboard.
Note: On large databases this may take up to 60 seconds. The tool runs synchronously so you will know when it is safe to proceed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, reports the current database file size without running VACUUM. Use this to preview how large the database is before committing to a full vacuum. |