icu_get_pace_curves
Fetch pace-vs-duration curves (5s to 1h) for running or swimming to analyze fitness trends and predict race times. Optionally use Grade-Adjusted Pace to account for hills.
Instructions
Fetch the pace-vs-duration curve — best (fastest) sustained pace across durations from 5s up to 1h, aggregated over the chosen window.
Use for run/swim fitness trends and race-time predictions. Pass
use_gap=True to normalize for hills via Grade-Adjusted Pace. For
time-in-zone distribution within a single activity, use
get_pace_histogram (or get_gap_histogram) instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport_type | No | Sport type (e.g., Run, Swim) | Run |
| days_back | No | Number of days to analyze (optional) | |
| time_period | No | Time period shorthand: 'week', 'month', 'year', 'all' (optional) | |
| use_gap | No | Use Grade Adjusted Pace (GAP) for running |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |