set_fit_download_dir
Set and save the default directory for Garmin activity file downloads, so future files are stored without asking. Specify a path or use the current working directory to keep files there.
Instructions
Set and persist the default directory for downloaded activity files.
Stores the absolute path in a small JSON config file (~/.garminconnect_fit_config.json, overridable via GARMIN_FIT_CONFIG) so download_activity_file can save files without asking again.
Args: path: Directory where activity files (.fit/.gpx/.tcx/.csv) are saved. Pass the current working directory to keep files where the server runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |