graph_neighbors
graph_neighborsRetrieve neighboring nodes in a codebase graph by specifying start entities, direction, depth, and edge or node kind filters. Ideal for exploring dependencies or relationships.
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 |
|---|---|---|---|
| limit | No | ||
| direction | No | ||
| edgeKinds | No | ||
| nodeKinds | No | ||
| projectId | No | ||
| projectRef | No | ||
| startEntities | Yes | ||
| traversalDepth | No | ||
| includeHeuristicEdges | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _hints | Yes | ||
| result | Yes | ||
| toolName | Yes | ||
| projectId | Yes |