Find workouts with matching intervals
search_intervalsSearch past training activities for intervals matching specific duration and intensity ranges, using % of threshold for power, pace, or heart rate.
Instructions
Find past activities containing intervals of a given duration and intensity, e.g. "4–6 minute reps at 95–105% of threshold". Intensity is % of threshold (FTP, threshold pace or LTHR depending on the metric).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max activities (default 20). | |
| metric | No | Which intensity to use (default AUTO). | |
| min_reps | No | Minimum matching intervals (default 1). | |
| max_intensity | Yes | Maximum intensity, % of threshold. | |
| min_intensity | Yes | Minimum intensity, % of threshold. | |
| max_duration_s | Yes | ||
| min_duration_s | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| activities | Yes |