read_output
Summarize any column in a SWAT+ output file to get count, first, last, min and max with locations, and how many values went negative. Supports optional filters for specific model elements.
Instructions
Summarise a column of a run's output file: count, first, last, min and max with where they occurred, and how many values went negative.
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": {
"file": "<file>",
"column": "<column>"
},
"name": "read_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Output file, e.g. hru_wb_aa.txt | |
| where | No | Optional filter, e.g. name=hru0001 | |
| column | Yes | Column name, e.g. surq_gen | |
| label_by | No | Column naming where min/max occurred |