log_setback
Records an athlete's illness or injury with start date, severity, and affected body part so future coaching context remembers the setback and can adjust training.
Instructions
Record that the athlete is, or was, ill or injured.
Call this WITHOUT BEING ASKED when the athlete tells you they are sick or
hurt, or that they were on days you had no setback for ("I had the flu
last weekend", "my calf has been sore since Tuesday's intervals"). This is
what makes the next conversation start out knowing it. Check the
setbacks in get_plan_context first: if the same one is already open,
use update_setback or log_setback_status on it. The server refuses a
second open illness, and a second open injury to the same body part.
Ordinary training soreness that fades within two days is not a setback. Tell the athlete you have logged it, in one short sentence.
Args: kind: "illness" (cold, flu, stomach bug, covid) or "injury". start_date: First day affected, YYYY-MM-DD. Ask if it is unclear; it is the anchor every before/after comparison uses. severity: "mild" (could have trained easy), "moderate" (no training) or "severe" (in bed, or cannot walk without pain). Ask rather than guess when the athlete's words do not settle it. end_date: Last day affected, YYYY-MM-DD. Leave out while it is still going on, and while the athlete is "better but not right yet". body_part: Injuries only, in the athlete's words ("left calf"). note: Symptoms and anything that explains it, in a line or two.
Returns: The setback, in the shape get_setbacks lists.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"start_date": "<start_date>"
},
"name": "log_setback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| note | No | ||
| end_date | No | ||
| severity | No | moderate | |
| body_part | No | ||
| start_date | Yes |