tp_get_workouts
List workouts within a date range, filtering by all, planned, or completed. Specify an athlete for coach accounts to retrieve their training schedule.
Instructions
List workouts in date range. Query only days needed. Max 90 days.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "tp_get_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter: all, planned, or completed | all |
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| end_date | Yes | YYYY-MM-DD | |
| start_date | Yes | YYYY-MM-DD |