predict_race_time
Predict a race time for a target distance (metres) on TWO bases, both Riegel-model estimates. all_time = extrapolated from the user's nearest all-time personal best — what they've proven capable of; null in the rare case where no all-time PBs exist yet. current_fitness = Riegel equivalence from their best efforts in the LAST 90 DAYS — what they're good for today; it carries confidence ('solid'|'moderate'|'extrapolated' — how far the source effort's distance sits from the target; marathon estimates never grade above 'moderate') and aging (true when the source effort is over 45 days old — worth suggesting a tune-up effort), plus full source provenance. current_fitness is null when there's no qualifying effort in the window. current_fitness also carries delta_4w_s — the change vs the same prediction made 4 weeks ago (negative = faster now = improving; null when no 4-weeks-ago prediction exists). Lead with current_fitness when coaching toward a near-term race; cite all_time as the proven ceiling. Both are model estimates, not promises. An athlete whose history is all non-Apple-device imports (e.g. Garmin) will legitimately show no auto-detected efforts — those runs carry no per-second speed data to mine; that is a source export limit, not absent fitness, so offer manual PB entry (propose_profile_update -> personal_bests) which drives Race Fitness, training paces and predictions just as well.
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": {
"distance_m": "<distance_m>"
},
"name": "predict_race_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distance_m | Yes |