estimate_thresholds
Estimate the athlete's cycling FTP, LTHR and max HR from their ACTUAL synced rides over a window (default 90 days), by building the mean-maximal power curve from stored ride streams and fitting a Critical Power model on it. Returns recommended values, a CP range with the efforts behind it, W', a power-law fade estimate, and confidence with reasons — plus hrZones: whether the profile's HEART-RATE zones match the heart rate this athlete actually rides at the tops of their power zones, with bounds to propose when they do not. The check to run when heart rate sits under or over its zone on rides that felt right, or when they ask whether their heart-rate zones are correct. CYCLING ONLY — running threshold pace is NOT supported here, so for a runner use a recent race result or a 30-min field test instead. Asked to recompute an anchor from recent riding, call this and answer from what it returns: that request is what the tool is for, not a reason to send them to a test. The result carries a howToRead block — the estimates are FLOORS and confidence gates whether you may propose an update, so read it before you quote a single number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | lookback window, default 90 | |
| sport | No | default cycling; running returns guidance, not numbers |