Weighted average lease term (WALT)
calc_waltWeighted average remaining lease term in years as of a date (actual days ÷ 365.25), weighted by each lease's area_sf (weight_by "area") or annual_rent (weight_by "rent"). Deterministic: the same inputs always give the same result, with formula ID calc.walt@1, every step, and any warnings.
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": {
"as_of": "<as_of>",
"leases": "<leases>"
},
"name": "calc_walt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | Yes | Date to measure remaining term from, YYYY-MM-DD. | |
| leases | Yes | Leases in the portfolio or building. | |
| weight_by | No | How each lease is weighted: "area" uses its area_sf, "rent" its annual_rent (that field is then required on every lease). Default "area". | area |