shortest_path
Find the shortest path connecting two nodes in the knowledge graph, returning the ordered list of nodes or an explicit 'no path' result.
Instructions
An ordered path connecting two nodes, or an explicit 'no path' result.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "shortest_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes | ||
| repo | No | . |