get_links
Retrieve all pipes, pumps, and valves in a water distribution network with their attributes including type, connected nodes, diameter, length, roughness, and minor loss coefficient.
Instructions
Return all links (pipes, pumps, valves) with their attributes.
Attributes include type, connected nodes, diameter, length, roughness coefficient, and minor loss coefficient.
Args: network_id: Session id of the network to inspect.
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": {
"network_id": "<network_id>"
},
"name": "get_links"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |