propose_planned_sessions
Stage a set of planned training sessions for the user to confirm (does NOT write). BEFORE authoring: read get_coach_note (current calibrated working paces + this-week guidance — a calibration OVERRIDES generic VDOT-table paces) and get_athlete_profile. The response carries coaching_context: the active coach-note digest plus pace_warnings for any session staged faster than its calibration — show warnings to the user with the draft and resolve them (confirm intent or restage) before committing. The response may also carry coach_conflicts — staged dates that collide with a coach-authored session; surface those to the user like pace_warnings and let the athlete decide before committing. Pass sessions: each needs date (YYYY-MM-DD) and session_type (easy|tempo|intervals|long|race|rest), plus — for non-rest — at least one of target_distance_m (100–80000), target_duration_s (60–21600), target_pace_s_per_km (120–900), note (≤200 chars), or interval_spec (a structured session — see below); rest days take no targets. Every non-rest session should carry a distance or duration, directly or through interval_spec blocks (a note or pace alone cannot be played as a guided run); prefer interval_spec where a session has structure. One session per date; up to 60 per call. Returns a human-readable draft, any rejected sessions with reasons, and a confirmation_token. Each draft summary is ALREADY rendered in the athlete's display units — present it verbatim, do NOT re-convert it (unlike the raw-metric run/data tools). Show the draft and, ONLY after the user confirms, call commit_planned_sessions with the token. interval_spec composes ANY structured session — not just classic intervals — by listing blocks in order: a uniform set (warm-up + one work/recovery pair ×N + cool-down via the repeat group), OR a composed session by listing each block explicitly: a pyramid (200/400/800/400/200), a progression (e.g. easy→tempo→hard work blocks with no recovery between, descending pace), descending-pace reps, or a long run with a race-pace finish. Attach interval_spec to whichever session_type fits ('intervals', 'long', 'tempo', …; not 'rest'). Translate the athlete's effort/zones into concrete target_pace_s_per_km or target_hr_bpm using get_athlete_profile (max/resting HR, PBs→paces) before authoring. WHAT THE ATHLETE SEES AND FEELS MID-RUN — author to fit it, never ask them to hit a number no screen shows. PACE target on a work/recovery block: shown on every device (Apple Watch/iPhone '@m:ss/km'; Android 'Target m:ss /km'; Garmin 'TARGET m:ss', plus a TARGET ±m:ss gap on its end-of-step result panel and, on a session with one main block, its km/mile split panel). A session-level target_pace_s_per_km is IGNORED when the session has an interval_spec, and without one reaches only a single-block plan built from the session's distance (any device) or duration (not Android; Android also only for easy/long) — so put pace on blocks. Off-pace alert: Garmin always (±15 s/km, no setting); Android, Apple Watch and iPhone only if the athlete turned pace alerts on (off by default, ±8%; Android's guided voice off also silences them); Android/Apple hold it for a block's first ~20 s (first block ~2 min). HR target or range: from app 1.0.19 the Apple Watch and iPhone show it on the step screen beside any pace target and buzz when heart rate stays outside it (a single value ±5 bpm on a work block; on a warm-up, cool-down or recovery only above it; the athlete can turn heart-rate alerts off); a Garmin shows it only on a block with NO pace target (pace wins when both are set) and never cues it; Android never shows or cues it. Warm-up/cool-down PACE targets reach no device under the current server policy (stored only). No device speaks a target value. So: put the pace to hit on work blocks as target_pace_s_per_km; use an HR target or range where effort is held by heart rate (easy runs, warm-up ceilings); still state any HR target in your reply to the athlete (Android and older app versions do not show it); a Garmin shows only one target per step. Detail: get_help topic session-targets-on-screen.
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": {
"sessions": "<sessions>"
},
"name": "propose_planned_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessions | Yes |