property-violations-history
Property Code-Violation & Lien History (Open-Data Cities) — Before buying, leasing or insuring a US property, reads the city's own open-data code-enforcement records for one address (or a NYC BBL/BIN) and returns normalized violations with date opened, category, description, open/closed status, source severity class and record URL; deterministic counts by status, category and year; days since the latest violation; the longest repeat-citation streak (citati
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "property-violations-history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbl | No | NYC borough-block-lot, 10 digits. | |
| bin | No | NYC building identification number, 7 digits. | |
| zip | No | ZIP code (informational; not used to widen a match). | |
| city | No | City, when not inside address. For NYC a borough name (Brooklyn, Queens, ...) narrows the match. | |
| state | No | Two-letter state, when not inside address. | |
| address | No | US street address with city and state, e.g. '447 21st Ave, San Francisco, CA 94121'. Give exactly one of address, bbl or bin. | |
| lookback_years | No | Years of history to read (default 10). |