csv_sample
Extract a sample of rows from CSV files to preview data structure and content for analysis, with configurable row count and offset.
Instructions
Get a sample of rows from a CSV file
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": {
"file_path": "<file_path>"
},
"name": "csv_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the CSV file | |
| count | No | Number of sample rows (default 10) | |
| offset | No | Row offset to start from |