profile_csv
Analyze CSV file structure and data types to prepare for Tableau workbook creation. Profiles raw CSV files directly without requiring an active workbook connection.
Instructions
Profile a CSV file before connecting it.
Unlike profile_data_source (which needs an active workbook), this tool profiles a raw CSV file directly.
Args: csv_path: Path to the CSV file. sample_rows: Number of rows to sample for type inference.
Returns: Human-readable DataProfile.
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": {
"csv_path": "<csv_path>"
},
"name": "profile_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_path | Yes | ||
| sample_rows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |