cache_related
Find connected cached entries by traversing similarity and derivation links from a known cache ID. Use this to retrieve related results already stored.
Instructions
Traverse the cache graph outward from one entry to find connected entries — ones auto-linked for content similarity ("similar" edges) or explicitly declared as built on top of it ("derived-from" edges). Use this to pull in everything already known that connects to a given cached result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of the entry to start from (from a prior cache_get/set/query result) | |
| depth | No | Hops to traverse, default 1 | |
| limit | No | Max results, default 20 | |
| relation | No | Filter to one edge type |