Get program
get_programReturns a program's structure by week: workouts and exercises with planned sets, repetitions, weight and supersets. Takes the program id and optionally one week number.
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": {
"program_id": "<program_id>"
},
"name": "get_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | No | Return only this week of the program, 1 or higher. | |
| program_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| week | No | ||
| level | No | ||
| is_active | Yes | ||
| trainings | No | ||
| is_catalog | Yes | ||
| description | No | ||
| weeks_count | No | ||
| weight_unit | Yes | ||
| duration_minutes | No |