find_entity_path
Trace the shortest path connecting two entities in the knowledge graph, revealing intermediate relationships and conceptual connections.
Instructions
Find the shortest path between two entities in the knowledge graph. Shows how entities are connected through intermediate relationships. Useful for understanding conceptual connections and knowledge pathways.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entity1": "<entity1>",
"entity2": "<entity2>"
},
"name": "find_entity_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity1 | Yes | Source entity name | |
| entity2 | Yes | Target entity name | |
| min_occurrences | No | Minimum entity occurrences for graph (default: 2) |