Who could be offered a payment plan
payment_plan_candidatesFor an owner or manager: every resident who could be offered a payment plan. Residents who are BEHIND come first (standing "behind", oldest arrears first, with what is overdue and how late it is); residents who are UP TO DATE follow (standing "current", with their next rent date and amount) — an owner may offer to spread rent that has not fallen due yet. Never describe a "current" resident as behind. Returns the lease id and the charge ids (oldest first; the first overdue_count are overdue) that offer_payment_plan needs.
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": "payment_plan_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (1-200, default 50). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the result was truncated, when it was. | |
| count | Yes | How many rows are in `results`. | |
| results | Yes | The rows. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |