Generate a cycling training plan
generate_training_planGenerate a 2-4 week cycling training plan using the Etapa API (getetapa.com). The plan is tailored to the rider's goal, fitness level, and available days. It is a short sample plan and is not saved anywhere.
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": "generate_training_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Any extra context — injuries, preferences, schedule constraints. | |
| weeks | No | Length of the sample plan in weeks. Capped at 4 — use the Etapa app for longer plans. | |
| goalType | No | What the rider wants to achieve. Examples: "complete a 50km sportive", "get fitter on two wheels", "ride to work twice a week", "first 100 miles". Free text. | |
| daysPerWeek | No | Days per week the rider can train. Defaults to 3. | |
| fitnessLevel | No | Rider fitness level. Defaults to beginner. | |
| indoorTrainer | No | Whether the rider has an indoor trainer. | |
| targetDistanceKm | No | Target distance in km if the goal is distance-based (e.g. an event). |