find_shortest_path
Find the shortest path between two entities in a knowledge graph by specifying source and target, with optional direction and relation type filters to control the search.
Instructions
Find the shortest path between two entities in the knowledge graph
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source entity name | |
| target | Yes | Target entity name | |
| direction | No | Direction of traversal (default: both) | |
| relationTypes | No | Optional filter for relation types to follow |