shortest_path
Find the shortest path connecting two concepts in the knowledge graph to trace data flow between source and sink.
Instructions
Find the shortest path between two concepts in the knowledge graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source concept label or keyword | |
| target | Yes | Target concept label or keyword | |
| max_hops | No | Maximum hops to consider | |
| project_path | No | Absolute path to a project directory containing graphify-out/graph.json. Optional — defaults to the graph this server was started with. |