add_shoe
Adds a pair of running shoes for an athlete, recording existing and target distance and optionally setting the pair as default; check existing shoes first to avoid duplicates.
Instructions
Add a pair of running shoes for the athlete.
Only on the athlete's say-so: they tell you about a new pair, you add it. Check get_shoes first so the same pair is not added twice.
Args: name: What to call the pair, in the athlete's words (e.g. "Pegasus 41"). start_distance_meters: Distance already on the pair, in METERS (250 km is 250000). Zero for a new pair. Runs from before the pair is added are never assigned to it, so this figure is where that earlier distance belongs. target_distance_meters: Where the athlete plans to replace the pair, in METERS. Leave out unless they named one — do not pick a figure for them. is_default: Put new runs on this pair automatically. Replaces the current default.
Returns: The new pair, in the shape get_shoes 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>"
},
"name": "add_shoe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| is_default | No | ||
| start_distance_meters | No | ||
| target_distance_meters | No |