Training log
get_training_logWhat the user planned and what they actually did over a range: sessions, minutes, distance and vertical gain, planned and completed, the same split per session type, and the sessions themselves. Defaults to the current week (Monday to Sunday) in the user's zone; week_of picks another week, start_date / end_date or days any other range. Distances and vertical gain are in metres (10 km = 10000). Completed totals use what was actually logged and fall back to the plan. A session with no distance adds 0: when sessions_without_distance is there, the distance totals are a floor, not the whole truth. effort covers the completed sessions with an rpe: how many, the mean rpe, and load = rpe × minutes summed (session-RPE load), the number to compare week against week. tag narrows everything to the sessions carrying that tag. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.
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_training_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only sessions with this tag, e.g. 'hills'. Optional. | |
| days | No | Days from start_date, when end_date is easier left out. | |
| week_of | No | Any date (YYYY-MM-DD) inside the week you want. | |
| end_date | No | Last day of the range, YYYY-MM-DD (inclusive). | |
| start_date | No | First day of the range, YYYY-MM-DD. | |
| include_sessions | No | False returns the totals only. Default true. |