set_pipe_length
Update a pipe's length in an EPANET water distribution network model to reflect design changes or calibration adjustments.
Instructions
Set the length of a pipe.
Args: network_id: Session id. pipe_id: Pipe name/ID. length: New length in the network's length units (feet or metres).
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>",
"pipe_id": "<pipe_id>",
"length": "<length>"
},
"name": "set_pipe_length"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | Yes | ||
| pipe_id | Yes | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |