util_csv_query
CSV query (filter, sort, select) — Filter, sort and select rows from CSV text with simple SQL-like conditions, offline. where= conditions joined by ' and ' or ';' using = != > >= < <= contains !contains startswith endswith in (a|b|c); numbers compare numerically ($ , % and (negatives) handled), text case-insensitively. Optional match=any, select= columns, sort= col or -col (several allowed, blanks last), distinct=true, limit= (default 100, max 5000), offset=. Returns matched count, rows, numeric summary of matched rows and CSV output. Up to 50,000 rows. Price: $0.003 USDC (Base, via x402).
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>",
"where": "<where>"
},
"name": "util_csv_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | e.g. name,status,amount Ann,paid,120 Bo,open,45 Cy,paid,300 | |
| where | Yes | e.g. status=paid and amount>100 |