create_marathon_plan
Build a marathon training plan for any race and goal, scaled to your current fitness from Strava history. It ramps weekly mileage safely, adds strength sessions and a 3-week taper, and flags goals that don't fit your runway.
Instructions
Build a marathon block for ANY race and ANY goal, scaled to current fitness.
Reads recent Strava history (unless use_strava_history=False or
current_weekly_miles is supplied), compares it to what the goal asks for,
and ramps from where the runner actually is — 8%/week ceiling,
3-up-1-down, 3-week taper, ending on race day. If the goal doesn't fit the
runway, the plan targets the goal that does and says so; force_goal=True
overrides. Two strength sessions a week; weekly fuelling/recovery guidance
in the report. dry_run=True validates without publishing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | ||
| dry_run | No | ||
| replace | No | ||
| goal_time | Yes | ||
| race_date | Yes | ||
| race_name | Yes | ||
| force_goal | No | ||
| start_date | No | ||
| days_per_week | No | ||
| use_strava_history | No | ||
| current_weekly_miles | No | ||
| heat_penalty_s_per_mile | No |