log_workout_fuel
Log what an athlete actually ate and drank during a workout from conversation, including gels, drinks, carbs, caffeine, and distance taken, so fuelling records match what they report.
Instructions
Write down what the athlete drank and ate on a workout, on their say-so.
The athlete can log this in the app themselves; use this when they tell you in conversation instead ("I had two gels and a bottle of water on Sunday's long run"). Log what they say, not what was planned, and ask rather than guess when they are vague about an amount. A drink is ONE entry with the total volume; each gel is its own entry, with at_distance_m when they remember where they took it.
Args:
workout_id: UUID of the workout (from get_recent_runs).
entries: What to log. Prefer product_id (get_fuel_products) so the
figures are the athlete's own.
replace: False (default) adds to what is already logged. True
replaces the whole log with entries; use it to correct a log,
after reading it with get_workout_fuel.
Returns: The workout's fuelling afterwards, in the shape get_workout_fuel returns.
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": {
"workout_id": "<workout_id>",
"entries": "<entries>"
},
"name": "log_workout_fuel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| replace | No | ||
| workout_id | Yes |