set_quality_type
Set the water-quality analysis type for an EPANET network model to NONE, AGE, TRACE, or CHEM, with optional tracer node, chemical name, and units.
Instructions
Set the water-quality analysis type.
Args:
network_id: Session id.
quality_type: One of "NONE", "AGE", "TRACE", or "CHEM".
tracer_node: Source node for TRACE analysis.
chemical_name: Species name for CHEM analysis.
units: Concentration units (e.g. "mg/L").
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>",
"quality_type": "<quality_type>"
},
"name": "set_quality_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| network_id | Yes | ||
| tracer_node | No | ||
| quality_type | Yes | ||
| chemical_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |