Export Dataset
export_datasetExports a dataset to CSV, Excel, JSON, Parquet, or pickle and writes it to a specified file name, returning the output path, format, and row/column counts.
Instructions
Export a dataset to CSV, Excel, JSON, Parquet or pickle. Args: dataset_id (str): ID of the dataset. extension_name (str): One of csv, json, xls, xlsx, parquet, pkl. file_name (str): Output file name or path. The extension is added if it is missing, e.g. "cars" -> "cars.csv". Returns: dict: The path that was written, the format and the number of rows and columns.
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": {
"dataset_id": "<dataset_id>",
"extension_name": "<extension_name>",
"file_name": "<file_name>"
},
"name": "export_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | ||
| dataset_id | Yes | ||
| extension_name | Yes |