get_dataset_columns
Get column names, field types, descriptions, distributions, licensing, publisher, and provenance for a dataset, or return its metadata as Croissant or DCAT-US.
Instructions
Column names, field names, types and descriptions for one dataset from the index, plus every distribution (format + URL), license, publisher, extent and per-field provenance (from the portal vs derived here). With standard 'croissant' (read by AI and ML tools) or 'dcat-us' (DCAT-US 3.0, read by government catalogs and data.gov), returns the dataset's description in that standard instead, with which required fields the portal did not give. A license is never inferred: where the portal gives none, a terms page may be linked, labeled 'terms page, not a license'.
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": "<dataset>"
},
"name": "get_dataset_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most columns to list. Default 100 | |
| offset | No | Skip this many columns (columns_shown.next_offset) | |
| dataset | Yes | dataset_id from search_datasets, a Socrata 4x4, an ArcGIS item id, or the dataset URL | |
| standard | No | Return the description as Croissant 1.1 ('croissant') or DCAT-US 3.0 ('dcat-us') instead of the column list |