Update event
tp_update_eventUpdate an existing race/event with new details such as name, date, priority, distance, description, or attached workout legs. Only specified fields change, using the event ID from tp_get_events.
Instructions
Update fields on an existing race/event (name, date, priority, distance, description, attached workout legs). Only the provided fields change. Event ID from tp_get_events; events more than ~2 years from today cannot be resolved for update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| name | No | ||
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| event_id | Yes | ||
| priority | No | ||
| ctl_target | No | ||
| event_type | No | ||
| description | No | ||
| distance_km | No | ||
| workout_ids | No | Workout IDs to attach to the event as its legs, in order (e.g. swim, T1, bike, T2, run). Replaces the existing list. |