neighbors
Breadth-first search from a starting node up to a set depth. Returns visited nodes with type, ID, and content snippet, traversing edges both ways.
Instructions
BFS the graph from a starting node up to depth hops away.
Returns each visited node with its kind, id, and a short content snippet
pulled from its native table. Both directions of edges traversed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| id | Yes | ||
| depth | No | ||
| max_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |