NY average weekly wage (§14)
calculate_awwThe average weekly wage from earnings in the year before the accident: earnings_method "steady" (WCL §14(1)–(2): earnings ÷ days worked × 200/260/300 for a 4-/5-/6-day week, 365 for 7) or "irregular" for new, seasonal or irregular work (§14(3)–(4): earnings ÷ weeks worked). With a date of accident it also gives the weekly rate. New York State only. Computes with The Comp Desk calc-core (the engine behind the app, the website calculators and the Pro Workspace); it never estimates. If an input is missing it returns status "missing" with every input still needed and calculates nothing. Returns the figures, the rate year used, the formulas with their citations (each flagged with whether it has been attorney-reviewed), and the not-legal-advice notice. Needs your builder key. Same engine the Pro Workspace tiles call through CD.Calc, so a figure here matches the app to the cent.
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": {
"earnings_method": "<earnings_method>",
"total_earnings": "<total_earnings>"
},
"name": "calculate_aww"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days_worked | No | steady: days actually worked in the period. | |
| weeks_worked | No | irregular: weeks actually worked. | |
| days_per_week | No | steady: days normally worked each week (1–4 use the 200 multiplier). | |
| total_earnings | Yes | Total gross earnings in the period, in dollars. | |
| earnings_method | Yes | ||
| date_of_accident | No | Optional: adds the weekly rate. |