Get activity intervals
get_activity_intervalsRetrieve the lap and interval breakdown for a training activity, returning a compact 24-field summary per lap by default or custom fields on request.
Instructions
Get the lap/interval breakdown for an activity. Each lap carries 84 fields, so a compact subset is returned by default; fields applies to the individual laps inside icu_intervals and icu_groups.
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 |
|---|---|---|---|
| fields | No | Fields to return. Defaults to a compact 24-field summary; the full record has ~84 fields, many of them null. Pass ["*"] for everything. | |
| activity_id | Yes | The activity ID |