Query properties (SQL)
queryPropertiesRun read-only SQL SELECT queries on a county's property data to retrieve one row per property. First inspect the available columns, then filter, aggregate, or join using standard SQL.
Instructions
Run a read-only SQL SELECT against a county's flat property query table (view name 'properties', one row per property) backed by embedded DuckDB. Use getPropertyQuerySchema first to see available columns. SAFETY: a single SELECT statement only (a leading WITH/CTE is allowed); multiple statements and any mutating or file/extension keyword (INSERT/UPDATE/DELETE/COPY/ATTACH/INSTALL/LOAD/PRAGMA/CALL/SET …) are rejected; results are always capped at 1000 rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | A single read-only SELECT statement over the 'properties' view. | |
| limit | No | Max rows to return (default 100, max 1000). Always enforced. | |
| county | Yes | County to query (case-insensitive), e.g. 'Lee'. |