Icu Get Activity Streams
icu_get_activity_streamsFetch raw per-sample activity streams (power, heart rate, cadence, GPS, and more) for visualization or custom signal analysis. Filter by stream types and time range.
Instructions
Fetch RAW per-sample time-series of one activity — second-by-second arrays for power, HR, cadence, speed, altitude, GPS, temperature, grade, etc.
Heavy payload. Use only when you need the underlying signal for visualization or custom analysis. Most "how was my ride?" questions are better answered by get_activity_details (summary metrics) or get_activity_intervals (per-lap breakdown).
Stream-type filter accepts any of: watts, heartrate, cadence, velocity_smooth, altitude, distance, time, latlng, temp, moving, grade_smooth, raw_heartrate, fixed_heartrate.
latlng comes back as [lat, lng] pairs (null where the sample has no
GPS fix).
left_right_balance (dual-sided power meters) is the RIGHT pedal's share
of power in percent (FIT convention), not the left's: a stream averaging
48 means L 52% / R 48%. The response adds a stream_notes entry saying so whenever the
stream is returned.
heartrate is CORRECTED data: Intervals.icu replaces readings above the
athlete's configured max HR with an interpolated line at import, so it can
never exceed that setting. raw_heartrate is the uncorrected trace and is
the only way to see a genuine new max that was clipped away — the platform
never raises the setting on its own. Request it explicitly; it is not in
the default set.
For averages over time windows (HR/power drift etc.) use icu_get_activity_window_stats instead. Aliases: VE -> tidal_volume_min, VT -> tidal_volume (centiliters), BR -> respiration (Tyme Wear when present, else the recording device's HR-derived estimate).
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": "icu_get_activity_streams"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_s | No | Only return samples recorded before this elapsed second | |
| start_s | No | Only return samples recorded at or after this elapsed second. The `time` stream is added to the output when start_s/end_s are used. | |
| streams | No | List of stream types (e.g., ['watts', 'heartrate', 'cadence']). If not specified, the activity's default streams are fetched — which does NOT include raw_heartrate or fixed_heartrate; ask for those by name. | |
| max_points | No | Thin every returned stream to at most this many samples by keeping every Nth one (the same N for all streams, so indices stay aligned). Omit for full resolution. ~500 is plenty to trace a route or see the shape of a ride. Samples are not always 1 s apart, so include 'time' to know when each kept sample was recorded. | |
| names_only | No | Return only available stream names and lengths, no data (cheap discovery) | |
| activity_id | Yes | Activity ID to fetch streams for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |