Log workout session
log_sessionLog 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.
If the user ran the workout IN THE AIM APP (it records every set as they train and saves
the session itself), it is already stored — do NOT log it again: read it with
get_sessions / get_session and discuss or correct it with update_session / update_set.
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 | |||