set_node_base_demand
Update a junction node's base demand in a water distribution network model, specifying the node ID and new demand value.
Instructions
Set the base demand for a junction node.
Args: network_id: Session id. node_id: Junction node name/ID. demand: New base demand in the network's flow units. demand_category: Demand category index (default 1).
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>",
"node_id": "<node_id>",
"demand": "<demand>"
},
"name": "set_node_base_demand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demand | Yes | ||
| node_id | Yes | ||
| network_id | Yes | ||
| demand_category | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |