Find best efforts in an activity
get_activity_best_effortsFind the best efforts within an activity: fastest pace for a distance or highest average heart rate or power for a duration, including when each effort occurred.
Instructions
Find the best efforts inside one activity: fastest pace over a distance (e.g. best 1 km), highest average heart rate or power over a duration (e.g. best 5 min). Returns when each effort happened. For all-time or period bests across activities use get_athlete_curves.
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": {
"id": "<id>",
"metric": "<metric>"
},
"name": "get_activity_best_efforts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Activity id, e.g. "i123456789" (from list_activities or search_activities). | |
| count | No | How many efforts (default 3). | |
| metric | Yes | pace = fastest over a distance; hr/power = highest average over a duration. | |
| distance_m | No | Effort distance in meters (pace efforts), e.g. 1000. | |
| duration_s | No | Effort duration in seconds (hr/power, or pace), e.g. 300. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | Yes | ||
| target | Yes | ||
| efforts | Yes |