set_pipe_roughness
Set the roughness coefficient of a pipe in an EPANET water distribution network model. Specify the pipe ID and roughness value (Hazen-Williams C factor or Darcy-Weisbach roughness height).
Instructions
Set the roughness coefficient of a pipe.
Args: network_id: Session id. pipe_id: Pipe name/ID. roughness: Hazen-Williams C factor (or Darcy-Weisbach roughness height).
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>",
"roughness": "<roughness>"
},
"name": "set_pipe_roughness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipe_id | Yes | ||
| roughness | Yes | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |