Loki Docs
Tools › Workouts › List imported workouts

List imported workouts

list_external_activitiesReads
What it does
Reads only. Changes nothing.
Permission
Workouts, read workouts:read

What your assistant is told

List workouts the user recorded somewhere else — a watch, a running app — and imported into Loki from Apple Health / Health Connect, newest first. Each row carries the health store's own activity type, when it started and ended, and energy and distance where the store had them. These are NOT Loki workouts: they have no exercises and no sets, they never appear in list_workouts, and get_recent_volume, get_muscle_progress and get_recovery_state ignore them entirely — so do not infer sets, tonnage or muscle fatigue from them. Use this tool when the user asks about cardio or activity recorded outside Loki, or when you want the whole week's picture next to list_workouts. Returns an empty list when the user has not turned on the assistant switch for imported workouts (Loki → Settings → Apple Health / Health Connect). An empty result therefore means "nothing you may see", not "nothing exists" — do not tell the user they have no outside activity; if it matters, mention the switch.

Parameters

  • limitwhole number, optionalMaximum number of results (default 25, capped at 200).
  • beforedate and time, optionalOptional ISO 8601 datetime cursor: returns activities that started strictly before this. Combine with the previous page's oldest startedAt to paginate.