Add a race we do not list
add_custom_racePut a race search_races does not list (a trail race, a road marathon, a local event, anything) on the user's Goal Race list, the same list save_race writes to. Search first; use this only when the race is not in the results. A date is required: a race without one has no place on a calendar. When the organiser has not announced it, ask the user for their best guess and pass date_confirmed: false — the race then goes in with status 'monitoring', and nothing writes 'TBC' into the title. status is one of wishlist, registered, monitoring, booking, estimating: 'wishlist' by default, 'registered' when the user has already signed up. One race per call. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.
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": {
"title": "<title>",
"date": "<date>"
},
"name": "add_custom_race"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The organiser's page, absolute http(s) url. Omit when unknown. | |
| date | Yes | Race day, YYYY-MM-DD. Required. | |
| title | Yes | Race name as the user says it, year included if they said it. Max 200 chars. No 'TBC'. | |
| format | No | Wave or distance the user picked, e.g. '42K'. Omit when they did not say. | |
| status | No | 'wishlist': On the list, not signed up. The default. 'registered': Signed up and paid. 'monitoring': Watching it: the date or the registration is not settled yet. 'booking': Booking travel and beds for it. 'estimating': Working out what it will cost. | |
| location | No | Town and country, e.g. 'Chamonix, France'. Omit when unknown. | |
| date_confirmed | No | False when the date is the user's guess rather than the organiser's announcement. Default true. |