Get Workouts
get_workoutsSummarize workout samples for the authenticated user only. Workouts whose date interval overlaps the query window match. Results are ordered by start date (newest first by default) and capped at limit (default 100, max 1000); summary.mayHaveMore reports when more workouts matched. Set includeSamples to true only when raw samples are required.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| order | No | Sort order by sample start date. desc returns the most recent samples first. | desc |
| endDate | No | ||
| startDate | No | ||
| includeSamples | No |