get_activity_intervals
Fetch structured interval data for an activity, including targets, actual performance, and interval types, to analyze workout structure and training compliance.
Instructions
Get structured interval data for an activity.
Returns the intervals/segments of a workout, including targets, actual performance, and interval types (warm-up, work, rest, cool-down). Essential for analyzing structured workouts and training compliance.
Args: activity_id: The unique ID of the activity
Returns: JSON string with interval data
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Activity ID to fetch intervals for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |