get_performance_trend
Track running or cycling pace/power over time, see each activity's value and average HR, and use the regression slope to detect performance trends.
Instructions
Get per-activity pace or power over time, with the regression slope.
Returns each activity's raw value and average HR, plus the slope across them. No HR normalisation is applied — normalise against the athlete's own thresholds from get_athlete_context if you want that.
Args: metric: Metric to track — "pace" (default) or "power" sport: Sport type — "running" or "cycling" days: Number of days to analyze (default 90)
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_performance_trend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| sport | No | running | |
| metric | No | pace |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |