preview_data
Preview Excel or CSV files to list sheets, columns, rows, and detected date range/frequency, so you can verify data structure before loading.
Instructions
Preview the contents of an Excel or CSV file before loading.
Lists available sheets (Excel), column names, number of rows, detected date range and frequency. Use this before load_data to choose the right column and confirm that dates are parsed correctly.
Parameters
source_path : path to .xlsx, .xls, or .csv file sheet : sheet name (Excel only; default = first sheet)
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": {
"source_path": "<source_path>"
},
"name": "preview_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | ||
| source_path | Yes |