apply_weekly_plan
ChatGPTExpand a weekly plan into dated planned workouts, starting on start_date (should be a Monday) for number_of_weeks weeks. skip_dates are left untouched; overwrite_dates have their existing workouts replaced. Returns the number of workouts created. Tip: call list_workouts first to detect conflicts.
apply_weekly_plan
ChatGPTExpand a weekly plan into dated planned workouts, starting on start_date (should be a Monday) for number_of_weeks weeks. skip_dates are left untouched; overwrite_dates have their existing workouts replaced. Returns the number of workouts created. Tip: call list_workouts first to detect conflicts.
create_template
ChatGPTCreate a reusable workout template. Same fields as a workout but without a date. Use base units (seconds, meters, watts, bpm).
create_template
ChatGPTCreate a reusable workout template. Same fields as a workout but without a date. Use base units (seconds, meters, watts, bpm).
create_weekly_plan
ChatGPTCreate a 7-day weekly training plan. days must have exactly 7 entries (Monday→Sunday); each entry is { workouts: [...] } or null for a rest day. A workout entry references a template_id OR carries an inline ad_hoc_workout.
create_weekly_plan
ChatGPTCreate a 7-day weekly training plan. days must have exactly 7 entries (Monday→Sunday); each entry is { workouts: [...] } or null for a rest day. A workout entry references a template_id OR carries an inline ad_hoc_workout.
create_workout
ChatGPTSchedule a new planned workout on a given date. Provide targets in base units: duration in seconds, distance in meters, pace in seconds per km, power in watts, HR in bpm. steps is an optional structured breakdown (warmup/work/rest/cooldown).
create_workout
ChatGPTSchedule a new planned workout on a given date. Provide targets in base units: duration in seconds, distance in meters, pace in seconds per km, power in watts, HR in bpm. steps is an optional structured breakdown (warmup/work/rest/cooldown).
delete_template
ChatGPTPermanently delete a workout template by id.
delete_template
ChatGPTPermanently delete a workout template by id.
delete_workout
ChatGPTPermanently delete a planned workout by id.
delete_workout
ChatGPTPermanently delete a planned workout by id.
get_performance_metrics
ChatGPTFetch the athlete's current performance metrics (FTP, threshold pace/HR, critical swim speed), training zones, and current personal bests. Use this to set realistic workout targets.
get_performance_metrics
ChatGPTFetch the athlete's current performance metrics (FTP, threshold pace/HR, critical swim speed), training zones, and current personal bests. Use this to set realistic workout targets.
get_weekly_plan
ChatGPTFetch a single weekly plan by id, including its 7-day structure.
get_weekly_plan
ChatGPTFetch a single weekly plan by id, including its 7-day structure.
get_workout
ChatGPTFetch a single planned workout by its id, including its steps.
get_workout
ChatGPTFetch a single planned workout by its id, including its steps.
list_activities
ChatGPTList the athlete's completed activities (synced from Strava) within a date range (inclusive). Useful as context for how training is actually going.
list_activities
ChatGPTList the athlete's completed activities (synced from Strava) within a date range (inclusive). Useful as context for how training is actually going.
list_templates
ChatGPTList the athlete's reusable workout templates. Templates can be referenced by weekly plans or used to create workouts.
list_templates
ChatGPTList the athlete's reusable workout templates. Templates can be referenced by weekly plans or used to create workouts.
list_weekly_plans
ChatGPTList the athlete's weekly training plans. A weekly plan is a 7-day template that can be applied to the calendar over multiple weeks.
list_weekly_plans
ChatGPTList the athlete's weekly training plans. A weekly plan is a 7-day template that can be applied to the calendar over multiple weeks.
list_workouts
ChatGPTList the athlete's planned workouts scheduled within a date range (inclusive). Use this to see what training is planned. Distances are in meters, durations in seconds, pace in seconds per km.
list_workouts
ChatGPTList the athlete's planned workouts scheduled within a date range (inclusive). Use this to see what training is planned. Distances are in meters, durations in seconds, pace in seconds per km.
update_template
ChatGPTUpdate fields of an existing workout template. Only the fields you provide are changed.
update_template
ChatGPTUpdate fields of an existing workout template. Only the fields you provide are changed.
update_weekly_plan
ChatGPTUpdate an existing weekly plan. Only the fields you provide are changed. When days is provided it must have exactly 7 entries (Monday→Sunday).
update_weekly_plan
ChatGPTUpdate an existing weekly plan. Only the fields you provide are changed. When days is provided it must have exactly 7 entries (Monday→Sunday).
update_workout
ChatGPTUpdate fields of an existing planned workout. Only the fields you provide are changed. Use base units (seconds, meters, watts, bpm).
update_workout
ChatGPTUpdate fields of an existing planned workout. Only the fields you provide are changed. Use base units (seconds, meters, watts, bpm).
update_workout_status
ChatGPTMark a planned workout as planned, completed, skipped or missed.
update_workout_status
ChatGPTMark a planned workout as planned, completed, skipped or missed.