set_pipe_status
Open or close a specific pipe in an EPANET water distribution network to control flow.
Instructions
Open or close a pipe.
Args:
network_id: Session id.
pipe_id: Pipe name/ID.
status: "OPEN" or "CLOSED".
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>",
"status": "<status>"
},
"name": "set_pipe_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| pipe_id | Yes | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |