find_all_paths
Trace all possible routes linking two entities in the knowledge graph up to a specified depth. Use it to uncover indirect relationships and understand how concepts are connected.
Instructions
Find all paths between two entities up to a maximum depth
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source entity name | |
| target | Yes | Target entity name | |
| maxDepth | No | Maximum path length (default: 5) | |
| direction | No | Direction of traversal (default: both) | |
| relationTypes | No | Optional filter for relation types to follow |