summarize_workouts
Summarize training totals by day, week, month, year, or all time. Get count, hours, km, calories, elevation, load, and average HR with optional sport filtering.
Instructions
Training totals per period: count, hours, km, calories, elevation, training load, and duration-weighted avg HR.
group_by: "day", "week" (ISO week), "month", "year", or "all".
by_sport: split each period per sport (default true).
from_date/to_date: optional ISO YYYY-MM-DD bounds; defaults to the last
12 weeks. sport: optional substring filter.
Multisport parents are skipped; their individual legs are counted.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": "summarize_workouts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | No | ||
| to_date | No | ||
| by_sport | No | ||
| group_by | No | week | |
| from_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |