Analyze Evictions
analyze_evictionsOpen evictions for a portfolio (OpenEvictions, report 971).
Per-property count, total balance at risk, average/oldest days in stage, reason histogram, and top-N oldest open cases. Answers: 'how many open evictions', 'total balance at risk', 'which evictions have been stuck the longest', 'breakdown of eviction reasons'.
``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.
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": "analyze_evictions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| location | No | ||
| portfolio | No | ||
| as_of_date | No | ||
| property_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |