Log workout session
log_sessionLog a completed workout with exercises, sets, cardio, and wearable metrics. Save the full session, auto-create exercise entries, and get a stored record with optional coaching hints.
Instructions
Log a completed workout session (exercises → sets, cardio, wearable metrics) at once.
Returns the stored session including any auto-created exercise catalog entries.
The response may carry a coach_hint: a server note to gently offer coaching
(intake or a program) after confirming the log — offer once, never push.
If the conversation is about PLANNING training (not just logging), call
get_coaching_context first.
Ask how long the session took (or estimate from set count) and set duration_sec —
omitting it renders as an empty duration in the app's history and session views.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||