Export dataset (CSV, Excel, or JSON Lines)
export_datasetExports dataset rows as CSV, Excel, or JSON Lines for download, reporting, or further analysis.
Instructions
export dataset (CSV, Excel, or JSON Lines)
The dataset as CSV text (or JSON Lines with output_format: "jsonl"; xlsx is binary and meant for a browser): input columns, then output columns, one line per row. For a few rows prefer list_dataset_rows (it carries cell states).
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": {
"id": "<id>"
},
"name": "export_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The dataset id (ds_...) | |
| output_format | No | `csv` (default), `xlsx`, or `jsonl`. |