get_neighbors
Retrieve nodes within a specified number of hops from a given node in any direction, enabling impact analysis of code changes.
Instructions
Nodes within depth hops of a node (both directions); 'what touches this?'.
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": "get_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| repo | No | . | |
| depth | No | ||
| edge_types | No |