graph_neighbors
graph_neighborsTraverse a codebase graph to find neighbors of start entities, filtering by direction, depth, and edge kinds.
Instructions
Graph tool for adjacency questions: traverse outward from one or more start entities with explicit direction, depth, and edge filters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| startEntities | Yes | ||
| direction | No | ||
| traversalDepth | No | ||
| nodeKinds | No | ||
| edgeKinds | No | ||
| includeHeuristicEdges | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | ||
| projectId | Yes | ||
| result | Yes | ||
| _hints | Yes |