search-exercise-templates
Find exercise templates by name or muscle group. Results are cached for repeated searches, and you can refresh the catalog on demand.
Instructions
Search exercise templates by name with optional muscle group filter. Fetches all templates from the Hevy API on first call, caches the catalog in memory with a bounded TTL cache, and reuses it for subsequent searches. Use refresh:true to force a re-fetch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Case-insensitive substring to match against exercise template titles | |
| refresh | No | Set to true to invalidate the catalog cache and re-fetch all templates from the API | |
| primaryMuscleGroup | No | Optional filter to restrict results to a specific primary muscle group |