set_fuel_plan
Write or replace a planned session's item-by-item fuelling plan so the athlete sees what to drink or eat and when; submit an empty list to remove it.
Instructions
Write the fuelling plan for a planned session. It replaces any plan the session already has; an empty list removes it.
The athlete sees the plan on the session in the app, and after the run next to what they logged, where one tap logs it as planned. So write the plan you would want them to follow, item by item, not a general remark: that belongs in the conversation or the session's description.
BEFORE WRITING ONE: get_fuel_products for what the athlete carries, and get_fuel_history for what they have taken on earlier long runs and how much per hour. Build on that; a plan far above what they are used to is one their stomach has not practised. Say in the conversation what the plan adds up to per hour and why.
One entry per drink with the total to drink over the run (volume_ml), and one entry per gel or other item with where to take it (at_distance_m, METERS). Use product_id wherever the athlete has the product saved.
This is not medical advice, and caffeine and sodium tolerance are personal: where the athlete has not used something before, say so and suggest trying it in training first.
Args: session_id: UUID of the planned session, the queue item's id (from get_plan_workouts, get_pending_workouts or list_queued_workouts). entries: The whole plan.
Returns: The session's plan afterwards, in the shape get_fuel_plan 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": {
"session_id": "<session_id>",
"entries": "<entries>"
},
"name": "set_fuel_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| session_id | Yes |