set_pump_status
Start or stop a pump in a water network model by setting its status to open or closed.
Instructions
Start or stop a pump.
Args:
network_id: Session id.
pump_id: Pump link name/ID.
status: "OPEN" (running) or "CLOSED" (stopped).
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>",
"pump_id": "<pump_id>",
"status": "<status>"
},
"name": "set_pump_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| pump_id | Yes | ||
| network_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |