find_errors
Scans CESM case run logs for error indicators including FATAL, ERROR, NaN, CFL violations, and negative thickness. Returns structured matches for further analysis.
Instructions
Scan all run logs in a CESM case for error indicators.
Searches for FATAL, ERROR, NaN, CFL violations, negative thickness, OOM, and similar. Returns a structured list of matches with filename, line number, and error type. Call classify_error() on the error text for probable cause and fix suggestions.
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": {
"case_dir": "<case_dir>"
},
"name": "find_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |