How to Build Equipment-Aware Fitness Features with Copilot
Build equipment-aware workout features with Copilot and ToolRouter.
ToolWorkout PlannerCopilot uses equipment-filtered exercise data to build personalisation features for fitness apps — adapting workout recommendations dynamically based on user-specified equipment, building equipment profile management, and filtering exercise libraries to match each user's real-world setup.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Workout Planner tool:
- In Copilot Chat: "List all equipment types using workout-planner"
- Copilot returns the equipment taxonomy
- Ask: "Find exercises for barbell and bench press using workout-planner"
- Request: "Write a function that generates a full-body session from a given equipment list"
Example Prompt
Try this with Copilot using the Workout Planner tool
List all equipment types using workout-planner, then find exercises for dumbbell equipment. Return as JSON with exercise name, body part, target muscle, and difficulty.
Tips
- Build an equipment profile per user and use it to filter all exercise recommendations
- Use list_equipment to populate an equipment selection UI with consistent category names
- Build an equipment swap function that substitutes dumbbell exercises when a barbell is unavailable