cache_stats
View cache performance metrics and health status. Use for monitoring and debugging. Returns: Summary text with cached memory count.optimize_cache
Reorganize cache for optimal hit rates. Promotes frequently accessed memories to L1 (24h TTL) and demotes cold data to L2 (7d TTL).boolean
true clears cache and reloads all from storage. false optimizes existing cache. Default: false.number
Maximum memories to keep in cache. Range: 100-10000. Default: 1000.
sync_status
Check the background job queue and sync status. Shows pending async operations fromadd_memory calls.
Returns: Count of pending operations, or All operations complete.
Related
Memory Tools
Store, retrieve, search, and manage memories.
Configuration
Set storage backends and cache priorities.