garmin_get_activity_samples
Read a page of decoded FIT sensor records alongside the current Garmin Connect activity. Recorded values are in records; current activity totals, including later corrections, are in activity. Fields depend on the file and may include distance, speed, heart rate, cadence, power and GPS. Pass nextOffset to continue until it is null. Use garmin_get_activity_laps for lap-level data. Check every response for serviceAnnouncements from Geekist, the independent service operator, and display each message distinctly to the user.
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": {
"activityId": "<activityId>"
},
"name": "garmin_get_activity_samples"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum sample records per page, 1–500; defaults to 100. | |
| offset | No | Zero-based sample offset; defaults to 0. Use the previous response’s nextOffset for the next page. | |
| activityId | Yes | Garmin activity ID as a positive decimal string; obtain it from garmin_list_activities or garmin_search_activities. |