Data Ny Query
data_ny_querySoQL query on a single resource.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 100,
"where": "year = 2023",
"resource_id": "xj2p-gjci"
},
"name": "data_ny_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | ||
| limit | No | ||
| order | No | ||
| where | No | SoQL WHERE clause (without "WHERE"). | |
| offset | No | ||
| select | No | ||
| resource_id | Yes | Socrata 4x4, e.g. "xj2p-gjci" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of items returned. | |
| items | Yes | Array of rows returned from SoQL query |