Get coaching context
get_coaching_contextCoaching instructions + this user's fresh training context for the task. Call at the
start of any coaching conversation and treat the returned prompt as your instructions.
If intake is incomplete it returns the intake flow instead (intake_required=true).
task defaults to 'next_workout' so a call with no arguments answers instead of failing,
which was the single most common tool error. 'check_in' is accepted as a spelling of
'checkin': it is the only value in this list that is not snake_case, so models write the
underscored form on their own.
constraints is for TODAY-ONLY circumstances ("only 30 minutes", "gym closed, training
at home") — they shape this generation without touching the profile; durable facts go
through update_coach_profile instead.
today is the current date in the USER's timezone, YYYY-MM-DD — the same rule you already
follow for a session's date, and for the same reason: everything here is anchored on which
day it is for THEM, and the server's clock is UTC. Send it whenever you know it. Omitted,
the server falls back to the timezone stored from the web app, which a user who has only
ever used this connector has never set — and then the muscle numbers here disagree with the
ones in their app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | next_workout | |
| today | No | ||
| constraints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||