preview_dataset
Preview dataset metadata and first rows to understand structure before downloading. Assess data quality and content by viewing up to 100 sample rows.
Instructions
Show dataset metadata with a data preview (first N rows) before downloading.
Use this BEFORE get_resource_data() to understand structure cheaply. Reads metadata and sample rows from the first downloadable resource.
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>"
},
"name": "preview_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nrows | No | Rows to preview (1-100, default 10) | |
| dataset_id | Yes | Dataset identifier (from intelligent_search or search_datasets) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||