Baltimore Query
baltimore_queryQuery any Baltimore ArcGIS layer by service path + layer id. Full ArcGIS query: where, out_fields, order_by, limit. Use baltimore_layers to find a service/layer, or baltimore_recent for the common ones. Epoch dates are converted to ISO.
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": {
"layer": 0,
"limit": 100,
"where": "OFFENSE='HOMICIDE'",
"service": "crime",
"order_by": "CreatedDate DESC"
},
"name": "baltimore_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | Layer id within the service (from baltimore_layers), e.g. 39. | |
| limit | No | Max rows (default 100, max 2000). | |
| where | No | ArcGIS SQL where (default "1=1"). | |
| service | Yes | ArcGIS service path, e.g. "311_Customer_Service_Requests_current/FeatureServer" (or a short name: crime|service_requests|permits). | |
| order_by | No | Sort clause, e.g. "CreatedDate DESC". | |
| out_fields | No | Comma-separated fields, or "*" (default). |