One race on the user's list
get_tripOne race the user has saved, in as much depth as asked for: the race itself, the training sessions between today and race day, and the diary notes linked to it. sections picks the parts (race, training, notes, plans, travel, stay, weather); left out, it returns race, training and notes. Ask for the others by name: plans (what was saved with save_trip_plan; without it, saved_plans names the sections that exist), travel (nearest airports, drive, train), stay (places to stay for the race nights; the links are affiliate links and are marked affiliate: true) and weather (race day in the last five years, plus the forecast within 16 days). Anything they do not know is in unknown. For any race on the site rather than one on the user's list, call get_race. Requires signing in.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | The race name as the list shows it, when there is no id or slug. | |
| race_id | No | id of the race on the user's list, from get_calendar. | |
| sections | No | Parts to return: race, training, notes, plans, travel, stay, weather. Omit for race, training and notes. | |
| race_slug | No | brand/year/slug, instead of race_id. |