query_dataset_records
Fetch validated records from a Socrata dataset using its resource ID, with optional domain and limit controls, to support open government data retrieval and analysis.
Instructions
Fetch records from a dataset with validation.
Args: resource_id: 4x4 dataset identifier limit: Max records to return 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": "query_dataset_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| domain | No | data.cityofnewyork.us | |
| resource_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |