neighbors
Traverse a graph from a starting node, exploring connected entities up to a specified depth in both directions. Return each visited node's kind, ID, and content snippet for quick context.
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 |
|---|---|---|---|
| id | Yes | ||
| kind | Yes | ||
| depth | No | ||
| max_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |