Match exercise
match_exerciseMap a free-text exercise name to exactly one catalogue exercise or null if no certain match. Use when importing names to prevent logging the wrong lift; no Garmin request.
Instructions
Map one free-text exercise name, such as one exported from another app, onto exactly one catalogue exercise, or return null when no single match is certain.
Use it when converting names from another source, where a wrong guess would log the wrong lift. To browse candidates and choose, use find_exercise, which returns a ranked list. Only a certain match is returned: the exact or normalised name, the same words up to a typo, plural or hyphenation, or a search with one hit that adds at most an implement (barbell, dumbbell, kettlebell). No Garmin request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A free-text exercise name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |