get_activity_intervals
Split a Rouvy activity into fixed time windows (5 min by default) to get per-interval power, %FTP, heart rate, cadence, speed, distance and climbing stats for analysis.
Instructions
Fixed-size splits of one Activity (every 5 min by default), from its per-second Activity file. For each split: start/end second, avg, NP and max power, avg power as %FTP, avg/max heart rate, avg cadence, avg speed, distance and climbing. %FTP uses the FTP from the Activity snapshot. A note says why any stat is left out.
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_intervals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| every_sec | No | Split length in seconds (at least 10). | |
| activity_id | Yes | An Activity id as returned by list_activities. |