Group training plan
get_group_planGet one group plan: its summary and compact workout rows (workout_id, week, day, targets), the ids propose_plan_revision(scope='group') takes. Rows come in whole weeks up to a response-size page; next_cursor reads the following weeks.
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": {
"group_plan_instance_id": "<group_plan_instance_id>"
},
"name": "get_group_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. | |
| group_plan_instance_id | Yes | A group_plan_instance_id from list_group_plans. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| error | No | ||
| status | No | ||
| message | No | ||
| privacy | No | Present when the athlete's settings withhold data. | |
| warnings | No | ||
| workouts | No | ||
| next_step | No | What can be done next, for example after a failure. | |
| athlete_id | No | ||
| start_date | No | ||
| sub_groups | No | ||
| next_cursor | No | Reads the next page; null on the last page. | |
| reason_code | No | ||
| total_weeks | No | ||
| member_count | No | ||
| user_content | No | Fields in this result that people wrote. | |
| workout_count | No | ||
| start_date_iso | No | The epoch field beside it as a UTC instant; the local day can differ. | |
| weeks_returned | No | ||
| training_plan_id | No | ||
| truncated_fields | No | Lists cut to fit one response: rows returned and total. | |
| duration_in_weeks | No | ||
| 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. | |
| group_plan_instance_id | No |