Neighbors
neighborsRetrieve adjacent nodes for a given ID in a dependency graph, choosing incoming, outgoing, or both directions to trace dependencies and assess impact.
Instructions
One-hop neighbors of a node. direction is 'out', 'in', or 'both'.
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": "neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| vault | No | ||
| direction | No | both | |
| edge_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |