fetch_dataset_schema
Retrieves the column names and data types for a specified Socrata dataset so you can inspect its structure before querying records.
Instructions
Get the schema (columns, types) for a specific dataset.
Args: resource_id: 4x4 dataset identifier (e.g., "erm2-nwe9") domain: Socrata portal domain
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": {
"resource_id": "<resource_id>"
},
"name": "fetch_dataset_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | data.cityofnewyork.us | |
| resource_id | Yes |