Skip to main content

read_memory_with_metadata

Function read_memory_with_metadata 

Source
pub fn read_memory_with_metadata(
    project_dir: &Path,
    global_dir: Option<&Path>,
    name: &str,
) -> Result<(String, MemoryMetadata)>
Expand description

Read a memory file with full metadata: frontmatter links, stale detection, and tier information. This is the rich-read counterpart of read_memory_from_tier for MCP responses that include metadata.