get_activity_detail
Get one completed activity in full by its activity_id. Strength returns every exercise with the sets performed and the sets prescribed, weights in the user's unit. Runs and rides return distance, time, pace or speed, elevation, heart rate with minutes in each of the user's zones, effort (zone load, hard and easy minutes, Garmin training effect, the user's RPE), every lap, and running dynamics or cycling power when recorded, in the user's units.
Args: activity_id: The activity's id from the activity overview.
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_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | The activity_id from the activity overview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| minutes | No | Session length; moving time for runs and rides. | |
| days_ago | No | Local calendar days between local_date and today (0 = today). Present with local_date. | |
| endurance | No | Runs and rides only. | |
| exercises | No | Strength only. | |
| local_date | No | The calendar date (YYYY-MM-DD) of the activity in the user's local timezone. Present only when the client reported a timezone; quote it rather than converting started_at. | |
| started_at | No | The instant the activity started, as an ISO 8601 UTC timestamp. | |
| activity_id | Yes |