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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "cache_related"
}
}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 |