preview_sample
Inspect sample rows from a dataset to verify columns, format, and quality; optionally ask a question to get a synthesized answer from the sample, plus schema and signed download URL.
Instructions
Preview sample rows of a dataset to verify it contains the expected columns, format, and quality. Returns a signed download URL for ~50 rows plus the schema. Pass an optional question to get a synthesized answer from the sample (e.g. "average price in 2024") — no purchase required.
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_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question | No | Optional natural-language question to answer from the sample (e.g. "average rent in SF", "count of records per state"). Returns a synthesized_answer field with deterministic aggregates if the question matches a simple pattern. | |
| dataset_id | Yes | The dataset ID to preview |