tp_get_peaks
Retrieve top performances for Bike or Run by PR type (e.g., 1-min power, 5K speed) and compare personal records over time. Supports optional date range and athlete filtering.
Instructions
Get top performances by type. For comparing PRs over time.
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 |