search_exercises
Search the exercise catalog by free-text name (e.g. 'barbell squat'). Returns real catalog exercises with an id, sorted by matchConfidence (0-1, fraction of your query's words found on that catalog entry). Call this for each exercise before create_workout_plan. Use the top result's exact id as that exercise's exerciseId and its name as the exercise name only when its matchConfidence is high (roughly 0.7+) — the app resolves the image/video from exerciseId automatically, so a matched exerciseId is what makes the exercise show media in the app. If every result has low matchConfidence, or there are no results at all, don't guess — fall back to a plain name with no exerciseId rather than linking a wrong exercise's image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |