state_gis_query
Query ArcGIS REST service layers for any US state. Run attribute and spatial queries with SQL-like where clauses to retrieve GIS data.
Instructions
Query any ArcGIS REST service layer for a US state. Supports attribute and spatial queries with SQL-like where clauses. Use state_gis_services to discover available services and layer IDs. Not all states have GIS services in the registry — use state_list to check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max features (default 50) | |
| state | Yes | Two-letter state code | |
| where | No | SQL where clause, e.g. "COUNTY = 'MONTGOMERY'" | |
| service | Yes | Service path, e.g. 'PlanningCadastre/MD_ParcelBoundaries/MapServer' | |
| layer_id | No | Layer index (default 0) | |
| out_fields | No | Comma-separated field names (default '*') | |
| return_geometry | No | Include geometry (default false) |