create_event
Create an event the athlete is preparing for (race, key ride, FTP test) on their Blocks calendar. Use when the athlete describes one in chat. Requires name + date (YYYY-MM-DD). Optional: description, location, map/event-page URLs, logistics notes, prep (coach) notes, priority, target and local start time (picks the forecast hours). The GPX route is added by the athlete in the app. Event-day weather is fetched automatically when within ~16 days. Returns the new event id (pass it to set_event_notes to add detailed prep).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| name | Yes | event name, e.g. 'Gravel Fondo 120' | |
| notes | No | athlete logistics (parking, number pickup…) | |
| mapUrl | No | ||
| target | No | their aim, e.g. 'sub-40' | |
| eventUrl | No | official race / registration page | |
| priority | No | A = season goal, B/C = on the way, '' clears | |
| startTime | No | local start time HH:MM | |
| coachNotes | No | prep notes (fueling, pacing, taper) | |
| description | No | ||
| locationText | No | town / venue — also used to fetch weather |