sample_rows
Returns the first N rows of a CSV file for quick preview or validation, defaulting to 5 and max 100. Processes local files only, ensuring data privacy.
Instructions
Return the first N data rows from a CSV (default 5, max 100). Local files only — never uploads user data anywhere.
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": {
"filePath": "<filePath>"
},
"name": "sample_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of rows to sample. | |
| filePath | Yes | ||
| delimiter | No |