memory_for_paths
What the org already knows about these files, newest first.
Returns current-truth memories tagged path:<p> (via
memory_remember(paths=) or session distill) for any of
paths or a path under one of them (src/billing matches
src/billing/webhooks.ts, not src/billing2/...), each with the
memory_recall provenance block and metadata.matched_paths. Shared brain: no agent filter. An exact
path lookup, not search: use memory_recall for keywords.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Max memories to return, newest first | |
| repo | No | Workspace slug. Drops memories tagged for a different repo:<slug>; memories with no repo/github tag still match. | |
| paths | Yes | Repo-relative POSIX file or directory paths to look up (e.g. ['src/foo.ts'] or ['src/billing']; a directory also matches memories tagged for files under it). Same normalization as memory_remember(paths=): absolute paths and '..' escapes are rejected. [] returns no records. | |
| github | No | GitHub owner/repo. Drops memories tagged for a different github:<owner>/<repo>; pass it so paths from another repo with the same layout do not match. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||