Create equipment
tp_create_equipmentAdd a bike or shoe to an athlete's equipment list and verify with a separate query, as creation returns no ID.
Instructions
Add a bike or shoes to the athlete's equipment list. type is 'bike' or 'shoe'; bike-only fields are rejected on shoes. The API returns no ID on create - verify with tp_get_equipment afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| brand | No | ||
| model | No | ||
| notes | No | ||
| wheels | No | Bike only | |
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| is_default | No | ||
| crank_length_mm | No | Bike only | |
| max_distance_km | No | ||
| date_of_purchase | No | YYYY-MM-DD | |
| starting_distance_km | No |