get_activity_best_efforts
Retrieve peak values over specified time or distance windows for an activity's data streams like watts, heart rate, or pace to analyze performance efforts.
Instructions
Get the best efforts (peak values over windows) for an activity.
Args:
activity_id: The Intervals.icu activity ID.
stream: Data stream to analyze — e.g. "watts", "heartrate", "pace" (default "watts").
duration: Optional window duration in seconds to target.
distance: Optional window distance in meters to target.
count: Optional maximum number of efforts to return.
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": {
"activity_id": "<activity_id>"
},
"name": "get_activity_best_efforts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| stream | No | watts | |
| distance | No | ||
| duration | No | ||
| activity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |