calculate_fueling_plan
Calculate personalized carb, sodium, and fluid targets for endurance races and get matched Lecka product recommendations.
Instructions
Calculates personalised race nutrition targets (carbs, sodium, fluid) for an endurance athlete and returns a list of Lecka products that match the target. Use this when an athlete asks what to eat during a race, how many gels they need, or what their carb target should be.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| race_type | Yes | The race distance or type. | |
| goal_minutes | Yes | Athlete's goal finish time in minutes. E.g. 240 for a 4-hour marathon. | |
| weight_kg | Yes | Athlete's body weight in kilograms. | |
| gender | No | Affects sodium targets. Defaults to male. | |
| conditions | No | Race day temperature and humidity conditions. Defaults to mild. | |
| effort | No | Intended effort level. Defaults to race_pace. | |
| caffeine_ok | No | Whether the athlete is comfortable consuming caffeine. Defaults to false. | |
| athlete_profile | No | Training level. Affects carb and sodium targets. Defaults to intermediate. | |
| region | No | Used to filter product availability. Defaults to us. |