Draft a session log from the watch data (read-only; the user confirms, then log_session)
draft_session_logProposes a draft gym-session log from Suunto watch laps and heart-rate data, marking assumed reps, weights, and set counts so users can confirm or correct them before logging.
Instructions
ZERO-LOGGING DRAFT: proposes the log_session payload for a guided gym session so the user only has to confirm it. Give workoutKey, or date for the latest guided session of that day (exactly one of the two). It reads the session's laps (the same mapping as compare_workout_to_plan; plan is the same optional exercises array) and its FIT file (heart-rate quality only), and builds, per exercise, the guide's text as sets x reps @ load. IMPORTANT: the watch records only the guide's PLANNED text, never the reps and weights done, so every rep count and weight in the draft is an ASSUMPTION (assumed: true) and must be confirmed or corrected by the user before anything is logged. In a per-set guide the number of sets is the number of set laps the watch recorded; in a per-exercise or workout guide the watch has one lap per exercise, so the number of sets is the plan's. It lists every deviation the watch data shows per exercise and for the session (missing, extra, short or long sets, a lap pressed during a rest, laps after 'Session complete', an unreliable mapping, a session that stopped early, missing exercises when plan is given) and the exact things to ask: confirm. A distance or time after the x ('3x40m') is not taken as reps, a missing weight is left out, never guessed. It NEVER writes anything, here or at Suunto: after the user has confirmed or corrected the draft, call log_session with draft (corrected) and source: 'draft'. Output: { workoutKey, date, status ('ok' | 'no-laps' | 'no-guide-labels' | 'unknown-label-format' | 'no-workout'), assumed: true, draft: { workoutKey, source: 'draft', exercises: [{ name, sets: [{ reps, kg }] }] } | null (valid arguments for log_session as they are), review: [{ n, name, detail, planned: { sets, reps, kg } | null, recordedSetLaps, proposedSets, assumed: true, mustConfirm ('reps', 'kg', 'setCount'), issues: [{ code, detail }], whyNotFilled }], sessionIssues, mapping: { format, complete, reliable, note }, hrQuality: { reliable, reasons, coverage } | null, confirm (plain sentences: what to ask the user), notes }. About 1-4 KB; downloads the FIT file (about 550 KB). Read-only.
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": "draft_session_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Instead of workoutKey: the local date; the latest guided session (with guide laps) of that day is drafted. | |
| plan | No | Optional: what the session was meant to be, in order (the exercises array given to push_strength_guide), as for compare_workout_to_plan: adds missing, extra and reordered exercises and set counts to the issues. | |
| workoutKey | No | The 24-character workoutKey of the session, from list_workouts or get_daily_snapshot. |