relevant_memories
Find memories whose frontmatter paths glob-match the given file, surfacing only the context to load before editing.
Instructions
Return memories whose frontmatter 'paths:' globs match the given file.
Memories can be auto-attached to specific parts of a project by adding a 'paths:' field to their frontmatter (e.g. 'paths: internal/auth/**, cmd/server/*.go'). This tool surfaces only the memories relevant to a given file — much smaller than list_memories when many memories exist.
Call this when starting work on a file to discover context the LLM should load before editing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File path. Either absolute or relative to the workspace. | |
| workspace | No | Absolute workspace path. Defaults to the daemon's resolved workspace. |