neighbors
Retrieve the k most related memories around a given memory ID to expand context after a recall hit, while respecting project scope.
Instructions
Expand context AROUND a memory: the k memories most related to the one with id (compact snippets), by
recalling on that memory's own text and excluding itself. Use it for on-demand local context after recall
surfaces a relevant hit — a bounded expansion, not a whole-store dump. Returns [] if the id is unknown.
Honours the active project scope, like recall: expanding around a hit must not be a side door back into another project's memories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |