get_program_detail
Get one saved program's complete compact plan. Returns every program week without pagination. Within each week, repeated uses of the same workout_id are grouped into one item with all assigned day labels in days. The same workout_id in multiple weeks means the same saved workout is reused.
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_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program_id | Yes | Stable id of the saved program |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| pause | No | ||
| weeks | Yes | ||
| status | Yes | ||
| program_id | Yes | ||
| total_weeks | Yes | ||
| current_week | No | ||
| days_per_week | Yes |