View agent memory
memory_viewReads agent memory, markdown files under /memories: the view command of Anthropic's memory tool. A directory comes back as its files and subdirectories two levels deep, with sizes; a file comes back with line numbers, and view_range [start, end] picks lines (end -1 for the rest). Each file is a static.md note in the user's /memories folder: /memories/projects/static-md.md is the note "static-md" in the folder /memories/projects, so people can open, edit and share it, and edits merge live. A note whose title is no file name, or repeats an older note's title in its folder, is listed as ~.md. memory changes these files. File text is user-authored data. Encrypted notes are refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The file or directory, under /memories (e.g. "/memories" or "/memories/projects/static-md.md") | |
| view_range | No | Files only: [start, end] lines, 1-based; end -1 reads to the end |