Get dataset schema
get-dataset-schemaDiscover the fields in a dataset by sampling items, so you can request only the needed fields instead of downloading entire records.
Instructions
Infer the shape of a dataset from a sample of its items. Use this to learn which fields exist before requesting them via fields, instead of pulling whole items to find out.
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": "get-dataset-schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasetId | Yes | ||
| sampleSize | No |