graph_traverse
Traverse a graph from a starting node, following relations to discover connections. Optionally filter by relation type and set traversal depth.
Instructions
Traverse the graph starting from a node, following relations. Optionally filter by relation type. Uses recursive CTE up to specified depth. Use to discover how nodes are connected in the graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_id | Yes | ||
| relation | No | Optional: filter by relation type (e.g., 'contains', 'depends_on') | |
| depth | No |