add_fuel_product
Saves drinks, gels, or other fuel products from athlete-provided label data so they can be selected when logging or planning runs. Check existing entries first to avoid duplicates.
Instructions
Save something the athlete drinks or eats on runs, so it can be picked when logging or planning.
Only on the athlete's say-so, with figures they gave you or read off the label. Do not fill in carbohydrates or caffeine from memory of a brand; leave a figure out when the athlete does not know it. Check get_fuel_products first so nothing is saved twice.
Args: name: What the athlete calls it ("Maurten Gel 100 Caf", "Water"). kind: "drink", "gel" or "other" (chews, a bar, a salt tablet). carbs_g: Carbohydrates in g, per piece, or per serving of a drink. caffeine_mg: Caffeine in mg, per piece, or per serving of a drink. volume_ml: For a drink only: the serving the two figures are for, in ml (500 for a 500 ml bottle).
Returns: The saved product, in the shape get_fuel_products 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": {
"name": "<name>",
"kind": "<kind>"
},
"name": "add_fuel_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| carbs_g | No | ||
| volume_ml | No | ||
| caffeine_mg | No |