Loki Docs
Tools › Workouts › Set the training program

Set the training program

set_programChanges
What it does
Changes or deletes something you had. Your assistant can ask you to confirm first.
Permission
Workouts, change workouts:write

What your assistant is told

Make an ordered list of the user's workout templates their active training program — the rotation Loki suggests from, one day after another, open-ended. Create the templates first with create_workout_template, then pass their ids here in the order they should be done. Replaces any current program (it is archived; no template is deleted). Confirm the plan with the user first.

Parameters

  • nametext, requiredProgram name, e.g. "Upper / Lower".
  • templateIdslist of id, requiredTemplate UUIDs in rotation order (day 1 first).
  • clientHandletext, optionalOptional client_handle from list_clients to run this tool against a coached client's data instead of your own. Omit (or pass null) for your own data — the legacy default.