Read the training blocks
get_blocksThe user's training blocks with their dates, goals and how many weeks each runs. The ones covering today also carry week_of_total ('3/16'), so an answer can say which week of the block they are in. Use when the user asks what they are working on, before adding a block (to see what is already there), or to review a block against its goal with get_training_log. 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_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| when | No | Which blocks: covering today, starting later, already finished, or all. Default 'all'. | |
| limit | No | Max blocks, default 50, max 100. |