swmm_run
Run swmm5 on an INP and write rpt/out + manifest.json into runDir. When 'node' is omitted the runner resolves 'auto' after the run: the outfall carrying the largest total volume in the Outfall Loading Summary (else the first [OUTFALLS]…
Instructions
Run swmm5 on an INP and write rpt/out + manifest.json into runDir. When 'node' is omitted the runner resolves 'auto' after the run: the outfall carrying the largest total volume in the Outfall Loading Summary (else the first [OUTFALLS] entry), so the manifest's peak metric targets the outfall that matters.
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": {
"inp": "<inp>",
"runDir": "<runDir>"
},
"name": "swmm_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inp | Yes | ||
| node | No | Optional. Omit (or pass 'auto') to report on the outfall carrying the largest total volume after the run. | |
| runDir | Yes | ||
| outName | No | ||
| rptName | No | ||
| memoriesApplied | No | Optional. List of modeling-memory entry ids whose parameters were programmatically applied to this run's inputs (e.g. ["cm-abc123"]). Recorded in manifest.json under 'memories_applied' for auditability. Omit when no memory was applied. |