Get Neighborhood
get_neighborhoodRetrieve the n-hop subgraph around a note, listing connected nodes and edges within the specified hop radius.
Instructions
Get the n-hop subgraph around a note: an explicit node list and edge list, treating links as undirected for hop counting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hops | No | Hop radius (default 2). | |
| path | Yes | Note path, title, or alias. |