icu_get_best_efforts
Find the top-N best efforts for power, heart rate, or pace within a single activity, given a target duration or distance.
Instructions
Find the top-N peak efforts WITHIN a single activity for a given stream + target duration or distance.
Different from get_*_curves (which span many activities). Useful for "what was my best 20-min power on this ride?" or "show my top 5k splits in this run." Requires at least one of duration or distance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Activity ID to analyze | |
| stream | No | Stream to search for best efforts: 'watts', 'heartrate', or 'pace' | watts |
| duration | No | Duration of each effort in seconds (e.g., 60 for 1-min, 1200 for 20-min). At least one of 'duration' or 'distance' is required. | |
| distance | No | Distance of each effort in meters (e.g., 5000 for 5k). At least one of 'duration' or 'distance' is required. | |
| count | No | Number of efforts to return (default 8) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |