query_related
Retrieve all vault nodes within a set hop depth of a given node, returning nearest-first distances and summaries for related-note discovery.
Instructions
Return all vault nodes within depth hops of the given uid.
Results include distance from the origin node, sorted nearest-first.
Each entry: {uid, title, type, distance, summary}.
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": {
"uid": "<uid>"
},
"name": "query_related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |