distill_memory
Create structured briefings from raw memory searches with source maps and key takeaways. Synthesizes stored knowledge into cited, compact summaries for quick review while keeping data read-only.
Instructions
Distill retrieved memories into a compact briefing with source map, key takeaways, and reusable evidence. Use this when you need a synthesized summary of stored knowledge on a topic rather than raw search results. Returns a structured briefing with citations. Read-only — does not modify stored memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language topic or task to distill, e.g. 'authentication migration decisions' | |
| limit | No | Maximum number of retrieved memories to include in the distillation (default: 8) | |
| scope | No | Restrict search to a specific scope, e.g. 'project:myapp'. Omit to use the default scope | |
| sessionId | No | Session identifier to infer session-scoped search, e.g. 'abc123' | |
| allScopes | No | Set to true to search across all scopes instead of the default scope | |
| profile | No | Retrieval profile that tunes ranking weights: 'writing' for narrative, 'debug' for technical, 'fact-check' for high-precision |