Get Memory
vault_get_memoryRetrieve semantic memory entries from About Me/ files. Access user preferences, principles, and opinions by specifying a file and optional section.
Instructions
Read semantic memory from About Me/ files. These are structured memory files containing dated bullet entries organized under H2 headings. With file: single file content. With file+section: just that H2 section's entries. No args: all files concatenated (frontmatter stripped) — can be large. Returns empty string when no memory files exist yet.
Example: vault_get_memory({ file: "Principles", section: "Decision heuristics (newest first)" })
When to use: Reading user preferences, principles, opinions, or other persistent context stored in About Me/ files. Call vault_list_memory_files first to discover valid file and section names. Prefer vault_read_note for reading non-memory notes.
Errors:
"section requires a file" — section was provided without file; pass both or just file
"memory file not found" — file does not exist in About Me/; call vault_list_memory_files to discover valid names
Returns: Raw markdown text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Memory file name without .md (e.g. "Principles", "Opinions") | |
| section | No | H2 section heading (e.g. "Decision heuristics (newest first)"). Matched case-insensitively, with or without the "(newest first)" suffix. Call vault_list_memory_files first to discover valid names. |