get_planned_schedule
The user's planned training sessions in a date range (default: the current Mon–Sun week). Each: date, session_type (easy|tempo|intervals|long|race|rest), optional target_distance_m / target_duration_s / target_pace_s_per_km / note / interval_spec (a structured spec may attach to any non-rest type). Read this before revising a plan. Optional from/to are YYYY-MM-DD. Each session also carries its completion state so you can coach on adherence: completed_at (the time of the session's first tick, not the run's time; null = not ticked, which does not prove the runner did not run, so check get_runs for a run on that date before calling a session missed), tick_count (POINTS earned, 1-3 = the sum of three independent checks), completion_source ('auto' from a synced run, or 'manual' if the user set it), and match_quality { checks { activity (a qualifying run happened — always true when completed), distance (ran >=90% of the planned distance or duration), pace (within 10% of target pace in the session's intended direction — easy/long not-too-fast, tempo/intervals/race not-too-slow) }, distance_ratio (achieved fraction of target), pace_ratio (run vs target pace; >1 slower, <1 faster), pace_basis ('gap'|'pace'), type_match (false when the run's type differed from the plan) }. A target that was not set auto-passes its check. Manual completion records the Activity point only. Rest days never complete. Use this to see what was done versus planned, and which dimension fell short. Each session also carries authored_by ('ai' = an AI like you wrote it; 'coach' = the athlete's human coach prescribed it on the coach portal or via their own AI; 'athlete' = self-authored; null = written before provenance existed) and matched_run_hk_uuid (the run that satisfied a completed session, for linking). RESPECT coach-authored sessions: when authored_by is 'coach', do not overwrite, move or re-plan that session unless the athlete explicitly asks you to — flag the conflict and let the athlete decide. Each session may carry notes_annotation {count, latest_line} — human notes anchored to that date (see get_shared_notes). Each session also carries display_label — the label the athlete sees for it in the app (e.g. 'Cruise intervals'); use it when naming the session back to them.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_planned_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No |