set_reservoir_head
Set the total head of a reservoir to adjust water-surface elevation in a water distribution network model.
Instructions
Set the total head (water-surface elevation) of a reservoir.
Args: network_id: Session id. reservoir_id: Reservoir node name/ID. head: Total head value in the network's pressure-head units.
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>",
"reservoir_id": "<reservoir_id>",
"head": "<head>"
},
"name": "set_reservoir_head"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head | Yes | ||
| network_id | Yes | ||
| reservoir_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |