find_path
Calculate the shortest path between two nodes in a NetworkX graph to analyze connections and optimize routing decisions.
Instructions
Find shortest path between two nodes.
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": {
"graph_id": "<graph_id>",
"from": "<from>",
"to": "<to>"
},
"name": "find_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph_id | Yes | ||
| from | Yes | ||
| to | Yes |