tp_get_library_items
List all workout templates from a TrainingPeaks library by providing the library ID. Access template details to plan and build structured workouts.
Instructions
List templates in a workout library.
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": {
"library_id": "<library_id>"
},
"name": "tp_get_library_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| library_id | Yes |