export_dataset
Export dataset rows as CSV, JSON, GeoJSON, or Parquet, with filtering and field selection. Capped at 5000 rows; for larger data use paginated queries.
Instructions
Export rows from a dataset in csv, json, geojson, or parquet format. Returns the data inline as text (parquet is base64-encoded binary, since this is not a file-download channel) and is hard-capped at 5000 rows regardless of the requested limit. For larger datasets, narrow the export with where/select, or use query_records with offset-based pagination instead.
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": {
"datasetId": "<datasetId>"
},
"name": "export_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of rows to export, capped at 5000 | |
| where | No | ODSQL boolean expression to filter exported rows | |
| format | No | csv | |
| select | No | Comma-separated field list to include in the export | |
| orderBy | No | ODSQL order_by expression | |
| datasetId | Yes | The dataset_id, e.g. "greenest-city-projects" |