delete_control
Delete a simple control from an EPANET network by its 1-based index. Use get_controls to list available controls.
Instructions
Delete a simple control by its 1-based index.
Args:
network_id: Session id.
control_index: 1-based index (use get_controls to list them).
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>",
"control_index": "<control_index>"
},
"name": "delete_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_id | Yes | ||
| control_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |