update_shoe
Rename a shoe, correct its starting or replacement distance, set or clear the default pair, or retire and restore it. Only the fields you pass change.
Instructions
Change a pair of shoes: rename it, correct its distances, make it the default, retire it or bring it back. Only what you pass changes.
There is no tool to delete a pair; that stays in the app. Retire a pair the athlete has stopped using — its runs and distance are kept.
Args: shoe_id: The pair's id from get_shoes. name: New name. start_distance_meters: Distance the pair had before it was added, in METERS. This is not the pair's total: the total is this plus its assigned runs, so to correct a total, work out the difference. target_distance_meters: New replacement distance, in METERS. clear_target: True removes the replacement distance. Do not combine with target_distance_meters. is_default: True makes this the pair new runs land on (replacing the current default); false leaves the athlete with no default. A retired pair cannot be the default. retired: True puts the pair away (it also stops being the default); false brings it back into rotation.
Returns: The updated 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": {
"shoe_id": "<shoe_id>"
},
"name": "update_shoe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| retired | No | ||
| shoe_id | Yes | ||
| is_default | No | ||
| clear_target | No | ||
| start_distance_meters | No | ||
| target_distance_meters | No |