Linked payment schedule (לוח תשלומים צמוד מדד)
calculate_linked_scheduleBuilds index-linked payment schedules from amount, start date, interval, and count, adjusting each payment to the CBS index known on its date and returning linked amounts, differentials, and totals.
Instructions
Build an index-linked payment schedule: payments payments of amount every interval_months from start_date — monthly rent, quarterly instalments to a contractor linked to the residential building inputs index (200010), alimony, a linked loan — each adjusted from one base index to the index known on its payment date (המדד הידוע: month M is known from the 16th of M+1), chain-linked across CBS base changes. The base is either base_month (the base index month written in the contract) or base_date (e.g. the signing date: the index known on it). Returns every payment with its index month and value, factor, linked amount and linkage differential (הפרשי הצמדה), plus totals; payments whose index is not published yet are marked estimated and use the latest published index. no_decrease applies a contract-style floor at the base amount. One API request.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": "<amount>",
"start_date": "<start_date>",
"payments": "<payments>"
},
"name": "calculate_linked_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | CBS index code, e.g. 120010 for the headline CPI (find codes with search_indices) | |
| amount | Yes | Base amount of each payment, e.g. 6000 (monthly rent) | |
| payments | Yes | Number of payments | |
| base_date | No | Base date, YYYY-MM-DD, e.g. the contract signing date; the index known on it is the base (use this or base_month) | |
| base_month | No | Base index month, YYYY-MM (use this or base_date) | |
| start_date | Yes | Date of the first payment, YYYY-MM-DD | |
| no_decrease | No | Never pay less than the base amount (index floor). Default false | |
| interval_months | No | Months between payments: 1 monthly (default), 3 quarterly, 12 yearly |