Show a memory's lineage
get_lineageWhat a memory was built from and what was built on it: the nodes reachable from the root and the edges among them (each edge reads: derivedId was built from inputId), with how many the limit left out. Walks every side by default. Mirrors Trace's Lineage tab; needs project Read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The most nodes to return, 1 to 400; 50 when omitted. | |
| reveal | No | Sides to open when revealAll is false, each "<id>:inputs" or "<id>:outputs". | |
| rootId | Yes | The root's id: a memory or a source. | |
| project | No | The project's slug, exactly as get_viewer or list_projects returned it. May be omitted when the organization has one live project. | |
| revealAll | No | Walk every side up to the limit. True when omitted; false walks only `reveal`, or the root's inputs when that is empty. |