graph_graph_path
Find the shortest path between two nodes in a named graph. Returns whether the destination is reachable, the path sequence, and its length.
Instructions
[graph] Find shortest path from src to dst. Returns {reachable, path, length}.
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": {
"name": "<name>",
"src": "<src>",
"dst": "<dst>"
},
"name": "graph_graph_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| src | Yes | ||
| dst | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |