Query a data file
query_dataRun read-only structured queries on local CSV, Parquet, Excel, or JSON files. Filter, select, sort, paginate, and aggregate data, then receive results as a Markdown table without modifying the file.
Instructions
Run a read-only structured query over a local data file: filter (where), select columns, order_by, limit/offset, and group_by with aggregations (count/sum/avg/min/max). Returns a Markdown table. No SQL, no writes — the file is never modified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the data file. | |
| limit | No | ||
| where | No | Row filters (ANDed together). | |
| offset | No | ||
| select | No | Columns to keep in the output. | |
| group_by | No | Group rows by these columns. | |
| order_by | No | ||
| aggregate | No | Aggregations to compute per group (with group_by). |