preview_data
Inspect actual rows from tabular data files (CSV, Parquet, Excel, JSON) using head, tail, or random sample modes to verify formatting, encodings, and column values before analysis.
Instructions
Peek at actual rows of a data file.
Returns n rows (capped at 100) as records. mode selects which rows:
head (default), tail, or sample (random). Use this to see real
example values rather than just statistics, for example to check formatting,
encodings, or how a specific column looks in practice.
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": {
"path": "<path>"
},
"name": "preview_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| mode | No | head | |
| path | Yes |