tp_get_workout_prs
Retrieve personal records achieved in a specific workout, grouped by metric class (e.g., Power, HR) and time frame (e.g., All-Time, Last 90 Days).
Instructions
Get personal records from a specific workout.
Args: workout_id: The TrainingPeaks workout ID.
Returns all PRs achieved in this workout, grouped by class (Power, HR, etc.) and time frame (All-Time, Last 90 Days, etc.).
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": {
"workout_id": "<workout_id>"
},
"name": "tp_get_workout_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workout_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |