Build context
bm_contextFollow a note's relations in the Basic Memory graph to retrieve observations and connected notes up to five hops, with recent-change filters and compact graph-only output.
Instructions
Follow the Basic Memory knowledge graph from a note: the note, its observations, and the notes its relations reach, up to depth hops (1-5). identifier is a path, permalink, memory:// URL, or a pattern such as 'specs/*'. since limits related results to recent changes. compact returns the graph without note bodies; read chosen notes with bm_read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number. | |
| depth | No | Relation hops to follow (1-5). | |
| since | No | How far back to look: '7d', '24h', '2 days ago', 'last week', or a date. Windows shorter than one day are widened to one day. | 7d |
| compact | No | Omit note bodies and observations; keep the graph shape. | |
| project | No | Project name, 'workspace/project', or project external id. Omit to use the default project. | |
| page_size | No | Primary results per page (1-50). | |
| identifier | Yes | Where to start: a note path, permalink, memory:// URL, or a pattern such as 'specs/*'. | |
| max_related | No | Most related results to return (0-100). | |
| output_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |