createManualActivity
write
Creates a manual activity from a distance in km and a duration in minutes. `startDatetime` is a local timestamp with milliseconds, e.g. `"2026-09-22T10:00:00.000"`. **converts units**: `distanceKm * 1000` → meters, `durationMin * 60` → seconds, before building the request body; `startDatetime` is NOT routed through `formatDate` (it's a full local timestamp, not a bare calendar date) and **must include milliseconds**, e.g. `"2026-09-22T10:00:00.000"`; omitting them produced a live HTTP 500 `ValueInstantiationException` from Garmin during verification.
createManualActivity(startDatetime, timeZone, typeKey, distanceKm, durationMin, activityName)| Parameter | Type | Optional | Description |
|---|---|---|---|
| startDatetime | string | no | |
| timeZone | string | no | |
| typeKey | string | no | |
| distanceKm | number | no | |
| durationMin | number | no | |
| activityName | string | no |
In Claude this is the create_manual_activity tool.