Query CSV
csv_queryFilter, select, aggregate, group, and limit rows in CSV/TSV data using declarative queries.
Instructions
Filter, select, aggregate (count/sum/avg/min/max), group, and limit CSV/TSV rows declaratively.
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": {
"csv": "<csv>"
},
"name": "csv_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | ||
| delimiter | No | ||
| select | No | Columns to return (default all). | |
| where | No | Row filters, ANDed together. | |
| groupBy | No | Group rows by this column (with aggregate). | |
| aggregate | No | Aggregate, e.g. {fn:"sum",column:"amount"}. | |
| limit | No |