Training plan
get_training_planWithout plan_id, list an athlete's training plans (summaries, optionally by status). With plan_id, read that plan's workouts with full prescriptions and the activities that completed them, in whole weeks up to a response-size page; next_cursor reads the following weeks. Strength workouts carry session_kg_loads in kilograms.
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": {
"athlete_id": "<athlete_id>"
},
"name": "get_training_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | next_cursor from the previous page of this tool called with the same arguments; omit for the first page. | |
| status | No | List only plans with this status; omit for every plan but deleted. | |
| plan_id | No | A plan_instance_id from this tool's list; omit to list plans. | |
| athlete_id | Yes | The athlete's user id: get_current_user's athlete_id for the connected account, or an id from get_coach_athletes or find_athlete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| count | No | ||
| error | No | ||
| plans | No | ||
| status | No | ||
| message | No | ||
| plan_id | No | ||
| privacy | No | Present when the athlete's settings withhold data. | |
| warnings | No | ||
| next_step | No | What can be done next, for example after a failure. | |
| athlete_id | No | ||
| next_cursor | No | Reads the next page; null on the last page. | |
| reason_code | No | ||
| total_weeks | No | ||
| user_content | No | Fields in this result that people wrote. | |
| weeks_returned | No | ||
| truncated_fields | No | Lists cut to fit one response: rows returned and total. | |
| generated_content | No | Fields in this result that NexRex's AI wrote. | |
| session_definitions | No | Sessions that several rows of this result share by session_ref. | |
| content_block_fields | No | Column names of every content_blocks row, nested blocks rows included. |