Get peaks
tp_get_peaksRetrieve an athlete's top cycling or running performances and personal records by sport, PR type, and time period. Ideal for tracking fitness peaks over days, with a default 90-day range.
Instructions
Get an athlete's top performances for one sport and PR type over a period (days, default 90). Bike pr_type: power1min/5min/20min; Run: speed5K/10K/Half. For PRs from a single workout use tp_get_workout_prs.
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": {
"sport": "<sport>",
"pr_type": "<pr_type>"
},
"name": "tp_get_peaks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| sport | Yes | ||
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| pr_type | Yes | Bike: power1min/5min/20min. Run: speed5K/10K/Half |