Skip to content
Docs menu

Back to all methods

addBodyComposition

write

builds a `.fit` binary in memory (`src/util/fit.ts`, a hand-rolled FIT encoder) and uploads it via `client.upload` to `/upload-service/upload`; `weight` validated positive/finite, throws `GarminError` otherwise; passes `client.upload`'s result through unchecked

addBodyComposition(weight, extra?)
ParameterTypeOptionalDescription
weightnumberno
extraobjectyes

In Claude this is the add_body_composition tool.

Guide: body-composition-weight