Get the training program
get_programGet the active training program with its day templates (planned blocks/supersets and
per-exercise targets) and pending_draft: the program draft that passed
review_program_draft and waits for the user in the AIm app, as {saved_at, program_mode,
program} with program the reviewed WorkoutDocument, or null when none waits. With no
active program the result is only {pending_draft}, and null when there is no draft
either. Program-planning data is in get_coaching_context(task='new_program'), draft
validation in review_program_draft, and saving or replacing a program in
import_document.
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_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |