analyze_csv
Analyze a numeric CSV column to detect anomalies and recurring patterns, reporting top matches with nearest-neighbor comparisons for explainable insights.
Instructions
Same as analyze_series, but loads the values from a numeric column of a CSV file.
Args: file_path: Absolute path to the CSV file. column: Name of the numeric column to analyze. subsequence_length: Pattern window length (see analyze_series). top_k: How many top anomalies/patterns to report.
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_path": "<file_path>",
"column": "<column>",
"subsequence_length": "<subsequence_length>"
},
"name": "analyze_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | ||
| column | Yes | ||
| file_path | Yes | ||
| subsequence_length | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |