save_network
Save the current water network model, with all modifications, to a new .inp file.
Instructions
Save the current (possibly modified) network to a new .inp file.
Args:
network_id: Session id of the network to save.
output_path: Destination file path (should end in .inp).
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>",
"output_path": "<output_path>"
},
"name": "save_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_id | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |