Analyze Payment Trends
analyze_payment_trendsMonth-over-month payment trends (PaymentComparison, 32).
Surfaces total collections per month (with % change), per-property rollup of last vs prior month, and a tenant-level list of payment drops bigger than drop_threshold_pct (default 50%). Defaults to a trailing ~90 day window so 3 month columns surface. Answers: 'which tenants stopped paying', 'how did collections trend last quarter', 'which properties are losing collections'.
``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_payment_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | ||
| end_date | No | ||
| location | No | ||
| portfolio | No | ||
| start_date | No | ||
| property_ids | No | ||
| drop_threshold_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |