memory
Manages conversation memory through hierarchical storage, adaptive retrieval, compression, knowledge graphing, inspection, and curation to maintain context integrity in long AI dialogues.
Instructions
[MEMORY] 6 sub-tools: store (hierarchical ingest), recall (adaptive gate retrieval), compact (compress with integrity), graph (knowledge graph with PageRank), inspect (tier status), curate (importance-based curation). Auto-selects based on params or use 'action' to override. TOOL NAME: memory (use underscores).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | Session identifier | default |
| action | No | Override: run a specific memory action. If omitted, auto-selects based on params. store — pass {role, content}; recall — pass {query}; compact — pass {targetRatio?}; graph — pass {action:'query'|'stats'|'recompute'}; inspect — pass {tier?}; curate — pass {action:'top'|'filterByDomain'|'mostReused'|'prune'} | |
| params | No | Parameters for the underlying tool. store: {role, content, metadata?}; recall: {query, maxResults?, turnCount?, entropy?, conflicts?}; compact: {targetRatio?, preserveRecency?}; graph: {action:'query'|'stats'|'recompute', startEntity?, depth?}; inspect: {tier?, runIntegrityCheck?}; curate: {action:'top'|'filterByDomain'|'mostReused'|'prune', domainTag?, threshold?} |