importActivity
write
multipart upload to `/upload-service/upload/{ext}` (extension from `filename`, must be `fit`/`gpx`/`tcx`) with the load-bearing `NK`/`origin`/custom `User-Agent` headers that make Garmin treat it as an import rather than a device sync; a 409 is re-raised as `GarminConnectionError` ("Activity already exists (duplicate):...")
importActivity(file, filename)| Parameter | Type | Optional | Description |
|---|---|---|---|
| file | Blob | no | File contents |
| filename | string | no |
In Claude this is the import_activity tool.