distance
Calculate the shortest path between two nodes in a system described with EN syntax, identifying subsystem crossings along the route for structural analysis.
Instructions
Shortest path between two nodes with subsystem crossing annotations.
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": {
"source": "<source>",
"from": "<from>",
"to": "<to>"
},
"name": "distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | EN source code describing the system | |
| from | Yes | Starting node name | |
| to | Yes | Target node name |